|
SMF Type 120 Record - Subtype 11This table shows the record layout for type 120 SMF records
|
It's easy to report on SMF 120 data! (Jump to sample reports) | |
Spectrum SMF Writer handles the difficult SMF record parsing for you automatically. You just specify which fields you want to see. Spectrum SMF Writer also converts the arcane date and time fields and reformats them into an attractive report. Plus, Spectrum SMF Writer can export SMF data as comma delimited files to use on your PC.
|
Offset (Dec.) | Offset (Hex) | Name | Length | Format | Description |
0 | 0 | SMF120LEN | 2 | binary | Record length. This field and the next field (total of four bytes) form the RDW (record descriptor word).
|
2 | 2 | SMF120SEG | 2 | binary | Segment descriptor (see record length field)
|
4 | 4 | SMF120FLG | 1 | binary | Bit meaning when set
0: New SMF record format 1: Subtypes used 2: Reserved 3-6: Version indicators* 7: Reserved |
5 | 5 | SMF120RTY | 1 | binary | Record type 120(X'78')
|
6 | 6 | SMF120TME | 4 | binary | Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
|
10 | A | SMF120DTE | 4 | packed | Date when the record was moved into the SMF buffer, in the form 0 cyydddF.
|
14 | E | SMF120SID | 4 | EBCDIC | System identification (from the SMFPRMxx SID parameter)
|
18 | 12 | SMF120SSI | 4 | EBCDIC | Subsystem identification from SUBSYS parameter
|
22 | 16 | SMF120RST | 2 | binary | Record subtype:
1: Server activity 2: Container activity 3: Server interval 4: Container interval. 5: J2EE container activity 6: J2EE container interval 7: WebContainer activity 8: WebContainer interval 9: Request Activity record 10: Outbound Request record 11: Liberty server |
24 | 18 | SMF120BAA | 4 | Numeric | Version of the SMF 120-11 record. Changed from Version (2) to Version (3) in 19.0.0.4.
|
28 | 1C | SMF120BAB | 4 | Numeric | Count of the triplets which follow
|
32 | 20 | SMF120BAC | 4 | Numeric | If the whole record is split across multiple records, this is the index. Never happens for 120-11 records.
|
36 | 24 | SMF120BAD | 4 | Numeric | If the whole record is split across multiple records, this is the total record count. Never happens for 120-11 records.
|
40 | 28 | SMF120BAE | 8 | Numeric | If the whole record is split across multiple records, this token will be the same across the parts. Never happens for 120-11 records.
|
48 | 30 | SMF120BAF | 4 | Numeric | The offset to the server identification section
|
52 | 34 | SMF120BAG | 4 | Numeric | The length of the server identification section.
|
56 | 38 | SMF120BAH | 4 | Numeric | The number of server identification sections (always one).
|
60 | 3C | SMF120BAI | 4 | Numeric | The offset to the user data sections.
|
64 | 40 | SMF120BAJ | 4 | Numeric | The size of the user data section
|
68 | 44 | SMF120BAK | 4 | Numeric | The count of user data sections
|
72 | 48 | SMF120BBG | 4 | Numeric | The offset to the request information section.
|
76 | 4C | SMF120BBH | 4 | Numeric | The length of the request information section.
|
80 | 50 | SMF120BBI | 4 | Numeric | The count of request information sections (always one).
|
84 | 54 | SMF120BBJ | 4 | Numeric | The offset to the classification data sections.
|
88 | 58 | SMF120BBK | 4 | Numeric | The length of the classification data section.
|
92 | 5C | SMF120BBL | 4 | Numeric | The count of classification data sections.
|
96 | 60 | SMF120BCO | 4 | Numeric | The offset to the network data section.
|
100 | 64 | SMF120BCP | 4 | Numeric | The length of the network data section.
|
104 | 68 | SMF120BCQ | 4 | Numeric | The count of network data sections (always one).
|
One instance per record | |||||
0 | 0 | SMF120BAL | 4 | Numeric | Version of the server identification section. Changed from Version (2) to Version (3) in 19.0.0.4.
|
4 | 4 | SMF120BAM | 8 | Character | z/OS system name from CVTSNAME. Hex offset value corrected in 19.0.0.4.
|
12 | C | SMF120BAN | 8 | Character | The z/OS sysplex name from ECVTSPLX. Hex offset value corrected in 19.0.0.4.
|
20 | 14 | SMF120BAO | 8 | Character | The server JES job ID from JSABJBID. Hex offset value corrected in 19.0.0.4.
|
28 | 1C | SMF120BAP | 8 | Character | The server JES job name from JSABJBNM. Hex offset value corrected in 19.0.0.4.
|
36 | 24 | SMF120BAQ | 8 | Numeric | The address space token (stoken) of the server address space. Hex offset value corrected in 19.0.0.4.
|
44 | 2C | SMF120BCW | 4 | Numeric | The address space id (ASID) of the server address space. Hex offset value corrected in 19.0.0.4.
|
30 | 48 | SMF120BCX | 128 | Character | The path to where server.xml for the server is located. May be truncated to 128 characters on the left (preserving the end of the path). Hex offset value corrected in 19.0.0.4.
|
176 | B0 | SMF120BCY | 16 | Character | Code level of the server. Hex offset value corrected in 19.0.0.4.
|
192 | C0 | SMF120BCZ | 4 | Numeric | USS Process ID for the server. Hex offset value corrected in 19.0.0.4.
|
196 | C4 | SMF120BDJ | 4 | Binary | Added in 19.0.0.4. This flag word is present when SMF120BAL is >=3. It contains the following flags:
SMF120BDL (bit 1) is on if CVTZCBP is on Bits 2-32 are reserved |
Up to 5 instances per record | |||||
0 | 0 | SMF120BAR | 4 | Numeric | Version of the user data section
|
4 | 4 | SMF120BAS | 4 | Numeric | A tag to identify the user data. The value is supplied by the caller of the API that sets the user data (e.g. your application).
|
8 | 8 | SMF120BAT | 4 | Numeric | Length of the user data set into the user data field.
|
12 | C | SMF120BDH | 2048 | EBCDIC | The actual user data set by the application.
|
One instance per record | |||||
0 | 0 | SMF120BBP | 4 | Numeric | The version of the request information section
|
4 | 4 | SMF120BBQ | 4 | Numeric | The TCB address of the thread that dispatched the request.
|
8 | 8 | SMF120BBR | 16 | Numeric | The z/OS TTOKEN of the thread that dispatched the request.
|
24 | 18 | SMF120BBS | 8 | Numeric | From pthread_self()
|
32 | 20 | SMF120BBT | 8 | Numeric | The GMT offset needed to get local time from GMT timestamps.
|
40 | 28 | SMF120BBU | 8 | Numeric | From java method Thread.currentThread().getId()
|
48 | 30 | SMF120BBV | 23 | Numeric | A theoretically unique identifier for the request. 71 47 Reserved 1 Reserved
|
72 | 48 | SMF120BBW | 8 | Numeric | GMT timestamp, in STCK format, when the request started dispatch
|
80 | 50 | SMF120BBX | 8 | Numeric | GMT timestamp, in STCK format, when the request ended dispatch
|
88 | 58 | SMF120BBY | 8 | EBCDIC | If classified with WLM, this is the transaction class string used for classification.
|
96 | 60 | SMF120BBZ | 16 | EBCDIC | From the STORADDR parameter of the z/OS TIMEUSED macro at the start of the request. See the TIMEUSED macro for specifics.
When cvtect1 is off, only the first 8 bytes of SMF120BBZ are valid. The data in SMF120BBZ corresponds to what is returned by a call to TIMEUSED CPU=TOD, STORADR= When cvtect1 is on, the data in SMF120BBZ correspond to what is returned by a call to TIMEUSED TIME_ON_CP=YES,ECT=YES,CPU=TOD,STORADR= From the TIMEUSED documentation: Words 0-1 = Total time. Words 2-3 = Time on CP when TIME_ON_CP=YES. |
70 | 112 | SMF120BCA | 16 | EBCDIC | From the STORADDR parameter of the z/OS TIMEUSED macro at the end of the request. See the TIMEUSED macro for specifics.
When cvtect1 is off, only the first 8 bytes of SMF120BCA are valid. The data in SMF120BCA correspond to what is returned by a call to TIMEUSED CPU=TOD,STORADR= When cvtect1 is on, the data in SMF120BCA correspond to what is returned by a call to TIMEUSED TIME_ON_CP=YES, ECT=YES,CPU=TOD, STORADR= From the TIMEUSED documentation: Words 0-1 = Total time. Words 2-3 = Time on CP when TIME_ON_CP=YES. |
128 | 80 | SMF120BCB | 8 | Numeric | WLM enclave delete CPU value returned in the IWM4EDEL CPUTIME parameter.
|
136 | 88 | SMF120BCC | 8 | Numeric | WLM enclave delete CPU service value returned in the IWM4EDEL CPUSERVICE parameter.
|
144 | 90 | SMF120BCD | 8 | Numeric | WLM enclave delete zAAP CPU value returned in the IWM4EDEL ZAAPTIME parameter.
|
152 | 98 | SMF120BCE | 8 | Numeric | WLM enclave delete zAAP service value returned in the IWM4EDEL ZAAPSERVICE parameter.
|
160 | A0 | SMF120BCF | 8 | Numeric | WLM enclave delete zIIP CPU value returned in the IWM4EDEL ZIIPTIME parameter.
|
168 | A8 | SMF120BCG | 8 | Numeric | WLM enclave delete zIIP service value returned in the IWM4EDEL ZIIPSERVICE parameter.
|
176 | B0 | SMF120BCH | 4 | Numeric | WLM enclave delete zAAP normalization factor. value returned in the IWM4EDEL ZAAPNFACTOR parameter.
|
180 | B4 | SMF120BCI | 4 | Numeric | WLM enclave delete response time ratio value returned in the IWM4EDEL RESPTIME_RATIO parameter.
|
184 | B8 | SMF120BCJ | 8 | Numeric | The token returned by WLM to represent the enclave used for this request.
|
192 | C0 | SMF120BCK | 64 | EBCDIC | The received userid.
|
256 | 100 | SMF120BCL | 8 | EBCDIC | If the received ID was mapped to a SAF identity, that user id is here.
|
264 | 108 | SMF120BCM | 4 | Numeric | The length of the URI for the request.
|
268 | 10C | SMF120BCN | 128 | EBCDIC | The actual URI for the request.
|
Up to three instances per record | |||||
0 | 0 | SMF120BDA | 4 | Numeric | The version for the Classification section
|
4 | 4 | SMF120BDB | 4 | Numeric | 6=URI, 7=target host, 8=target port
|
8 | 8 | SMF120BDC | 4 | Numeric | The length of the classification string
|
12 | C | SMF120BDD | 128 | EBCDIC | The classification string
|
One instance per record | |||||
0 | 0 | SMF120BCR | 4 | Numeric | The version of the network data section 4 4 Reserved 8 Reserved
|
12 | C | SMF120BDI | 8 | Numeric | Number of bytes in the response to the request.
|
20 | 14 | SMF120BCS | 4 | Numeric | The target port of the request.
|
24 | 18 | SMF120BCT | 4 | Numeric | The origin port for the request.
|
28 | 1C | SMF120BCU | 4 | Numeric | The length of the origin address string.
|
32 | 20 | SMF120BCV | 40 | EBCDIC | The origin address string.
|
The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.
The sample SMF report below was created with Spectrum SMF Writer,
the low-cost 4GL SMF report writer. It reads as input the SMF file and selects just the type 120 WebSphere Application records for Jave 2 Enterprise Edition containers. (See SMF 120-5 record layout.) It then prints a report line for each Java bean method accounting section found. The report shows CPU time information about those Java bean methods. Note that a single SMF 120 record can contain information about multiple beans and multiple methods per bean.
All of this with just a few of code!
Why not install a Spectrum SMF Writer trial right now and start making your own SMF reports!
INPUT: SMF12005 INCLUDEIF: SMF120RTY=120 AND SMF120RST=5 TITLE: 'Z/OS WEBSPHERE APPLICATION SMF 120 DATA' TITLE: 'SUBTYPE 5 -- J2EE CONTAINER ACTIVITY' COL: SMF120RST(3 'SUB/TYP') SMF120JA4(5 'TRANS/SERVER/HOST') SMF120JA5(6 'TRANS/SERVER/NAME') SMF120JA8_EBC(8 'CONTAINER/NAME') SMF120CL2('CELL') SMF120ND2('NODE') SMF120JB1_EBC(10 'BEAN/NAME') SMF120JM1_EBC(25 'BEAN/METHOD') SMF120JM2(5 'TIMES/INVOK') SMF120JM3('AVG/RSP/TIME' TPIC'9.999' ) SMF120JM4('MAX/RSP/TIME' TPIC'9.999' ) SMF120JMQ('AVG/CPU/TIME' TPIC'9.999999' ) SMF120JMR('MIN/CPU/TIME' TPIC'9.999999') SMF120JMS('MAX/CPU/TIME' TPIC'9.999999')
Z/OS WEBSPHERE APPLICATION SMF 120 DATA SUBTYPE 5 -- J2EE CONTAINER ACTIVITY TRANS TRANS AVG MAX AVG MIN MAX SUB SERVE SERVER CONTAINE BEAN BEAN TIMES RSP RSP CPU CPU CPU TYP HOST NAME NAME CELL NODE NAME METHOD INVOK TIME TIME TIME TIME TIME ___ _____ ______ ________ ________ ________ __________ _________________________ _____ _____ _____ ________ ________ ________ 5 AWT4 AXZ4S1 Default AXZ4 AXZ44 Tonam::Inf invoke:java.lang.String,j 1 0.014 0.014 0.013665 0.013665 0.013665 5 AWT4 AXZ4S1 Default AXZ4 AXZ44 Tonam::Inf invoke:java.lang.String,j 1 0.020 0.020 0.006287 0.006287 0.006287 5 AWT4 AXZ4S1 Default AXZ4 AXZ44 Tonam::Inf login:java.lang.String,ja 1 0.006 0.006 0.004206 0.004206 0.004206 5 AWT4 AXZ4S1 Default AXZ4 AXZ44 Tonam::Inf invoke:java.lang.String,j 1 0.004 0.004 0.003605 0.003605 0.003605 5 AWT4 AXZ4S1 Default AXZ4 AXZ44 Tonam::Inf invoke:java.lang.String,j 1 0.007 0.007 0.004831 0.004831 0.004831 5 AWT4 AXZ4S1 Default AXZ4 AXZ44 Tonam::Inf invoke:java.lang.String,j 2 0.005 0.010 0.005650 0.001264 0.010036 *** GRAND TOTAL ( 6 ITEMS)
Home |
Products |
Prices |
Documentation |
30-Day Trials |
Customer Reviews |
Company
| FAQ
| Sample Reports
| SMF Records
Send Your Comments or Questions