|
SMF Type 120 Record - Subtype 3This 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 |
24 | 18 | SMF120TRN | 4 | binary | Number of triplets in this record. A triplet is a set of three SMF fields (offset/length/number values) that defines a section of the record. The offset is the offset from the RDW.
Subtypes: 1: Value is equal to the number of sessions +2 2 and 4: Value is equal to the number of classes +2. |
28 | 1C | SMF120PRS | 4 | binary | Offset to product section from RDW.
|
32 | 20 | SMF120PRL | 4 | binary | Length of product section.
|
36 | 24 | SMF120PRN | 4 | binary | Number of product sections.
|
40 | 28 | SMF120SIS | 4 | binary | Offset to server interval section from RDW
|
44 | 2C | SMF120SIL | 4 | binary | Length of server interval section
|
48 | 30 | SMF120SIN | 4 | binary | Number of server interval sections
|
52 | 34 | SMF120SRS | 4 | binary | Offset to server region section from RDW
|
56 | 38 | SMF120SRL | 4 | binary | Length of server region section
|
60 | 3C | SMF120SRN | 4 | binary | Number of server region sections
|
0 | 0 | SMF120MFV | 4 | binary | CB SMF version
|
4 | 4 | SMF120COD | 8 | EBCDIC | Character codeset in which strings in the SMF record are encoded
|
12 | C | SMF120END | 4 | binary | Encode of numbers in the SMF record
|
16 | 10 | SMF120TSF | 4 | binary | Encoding of timestamps:
1: S390STCK64: The time values are encoded in 64-bit S/390 Store Clock format. |
20 | 14 | SMF120IXR | 4 | binary | Index of this record
|
24 | 18 | SMF120NRC | 4 | binary | Total number of records
|
28 | 1C | SMF120NTR | 4 | binary | Total number of triplets
|
Contains aggregated information about all activities that occurred within the specified server interval. There is one server interval section per record. | |||||
0 | 0 | SMF120HN2 | 64 | EBCDIC | WebSphere Application Server for z/OS transaction server host name
|
64 | 40 | SMF120SNI | 8 | EBCDIC | WebSphere Application Server for z/OS transaction server name
|
72 | 48 | SMF120INI | 8 | EBCDIC | WebSphere Application Server for z/OS transaction server instance name
|
80 | 50 | SMF120SST | 16 | S390STCK | Time that the sample began in the server
|
96 | 60 | SMF120SET | 16 | S390STCK | Time that the sample ended
|
112 | 70 | SMF120NG2 | 4 | binary | Number of global transactions that have run through the server instance during the interval that have been initiated by the server instance during the interval
|
116 | 74 | SMF120NL2 | 4 | binary | Number of local transactions that have been initiated by the server instance during the interval
|
120 | 78 | SMF120NCS | 4 | binary | Reserved
|
124 | 7C | SMF120NCA | 4 | binary | The number of communications sessions that have been active during the interval
|
128 | 80 | SMF120NLS | 4 | binary | Reserved
|
132 | 84 | SMF120NLA | 4 | binary | Number of active local communication sessions that have been attached and active within the server instance during the interval
|
136 | 88 | SMF120NRS | 4 | binary | Reserved
|
140 | 8C | SMF120NRA | 4 | binary | Number of active remote communication sessions that have been attached and active within the server instance during the interval
|
144 | 90 | SMF120BTS | 4 | binary | Number of bytes that have been transferred to the server from all attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120ITS, an 8-byte field, instead. |
148 | 94 | SMF120BFS | 4 | binary | Number of bytes that have been sent from the server to all attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120IFS, an 8-byte field, instead. |
152 | 98 | SMF120BTL | 4 | binary | Number of bytes that have been transferred to the server from all locally attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120ITL, an 8-byte field, instead. |
156 | 9C | SMF120BFL | 4 | binary | Number of bytes that have been transferred from the server to all locally attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120IFL, an 8-byte field, instead. |
160 | A0 | SMF120BTR | 4 | binary | Number of bytes that have been transferred to the server from all remotely attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120ITR, an 8-byte field, instead. |
164 | A4 | SMF120BFR | 4 | binary | Number of bytes that have been transferred from the server to all remotely attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120IFR, an 8-byte field, instead. |
168 | A8 | SMF120J2 | 4 | binary | J2EE server.
|
172 | AC | SMF120CL1 | 8 | EBCDIC | WebSphere Application Server for z/OS transaction server cell name
|
180 | B4 | SMF120ND1 | 8 | EBCDIC | WebSphere Application Server for z/OS transaction server node name
|
188 | BC | SMF120NHS | 4 | binary | Reserved
|
192 | C0 | SMF120NHA | 4 | binary | Number of HTTP communication sessions that have been attached and active within the server instance during the interval
|
196 | C4 | SMF120BTH | 4 | binary | Number of bytes that have been transferred to the server from all HTTP attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120ITH, an 8-byte field, instead. |
200 | C8 | SMF120BFH | 4 | binary | Number of bytes that have been transferred from the server to all HTTP attached clients
'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120IFH, an 8-byte field, instead. |
204 | CC | SMF120TEC | 8 | binary | Total CPU time accumulated by the WLM enclaves. TOD clock format (bit 51 = microseconds).
|
212 | D4 | SMF120ITS | 8 | binary | Number of bytes that have been transferred to the server from all attached clients.
|
220 | DC | SMF120IFS | 8 | binary | Number of bytes that have been sent from the server to all attached clients
|
228 | E4 | SMF120ITL | 8 | binary | Number of bytes that have been transferred to the server from all locally attached clients
|
236 | EC | SMF120IFL | 8 | binary | Number of bytes that have been transferred from the server to all locally attached clients
|
244 | F4 | SMF120ITR | 8 | binary | Number of bytes that have been transferred to the server from all remotely attached clients
|
252 | FC | SMF120IFR | 8 | binary | Number of bytes that have been transferred from the server to all remotely attached clients
|
260 | 104 | SMF120ITH | 8 | binary | Number of bytes that have been transferred to the server from all HTTP attached clients
|
268 | 10C | SMF120IFH | 8 | binary | Number of bytes that have been transferred from the server to all HTTP attached clients
|
276 | 114 | SMF120ITP | 8 | binary | Number of bytes that have been transferred to the server from all SIP attached clients
|
284 | 11C | SMF120IFP | 8 | binary | Number of bytes that have been transferred from the server to all SIP attached clients.
|
292 | 124 | SMF120NPA | 4 | Binary | Number of SIP communication sessions that have been attached and active within the server instance during the interval
|
296 | 128 | SMF120BTP | 4 | binary | Number of bytes that have been transferred to the server from all SIP attached clients. 'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120ITP, an 8-byte field, instead.
|
300 | 12C | SMF120BFP | 4 | binary | Number of bytes that have been transferred from the server to all SIP attached clients. 'FFFFFFFF'X indicates the 4-byte field is too small. Use SMF120IFP, an 8-byte field, instead.
|
304 | 130 | SMF120IR1 | 4 | -- | Reserved
|
Contains information about each server servant in the specified interval. There are zero, one, or multiple sections per record. | |||||
0 | 0 | SMF120SSA | 4 | binary | Servant address space ID
|
4 | 4 | SMF120SNT | 4 | binary | Number of triplets.
|
The following triplet appears 0-n times; once for each Heap ID Section. | |||||
0 | 0 | SMF120SSO | 4 | binary | Offset to heap id section from the beginning of this server servant section.
|
4 | 4 | SMF120SSL | 4 | binary | Length of heap id section.
|
8 | 8 | SMF120SSN | 4 | binary | Number of heap id sections.
|
There are zero, one, or multiple sections per server servant section. The Heap ID Section contains information about all heaps of this server servant involved in this activity | |||||
0 | 0 | SMF120HIH | 4 | binary | The heap for which the following data applies.
|
4 | 4 | SMF120HIC | 4 | binary | Number of allocation failures on this heap during the interval.
|
8 | 8 | SMF120HI1 | 8 | binary | Minimum number of bytes during the interval.
|
16 | 10 | SMF120HI2 | 8 | binary | Maximum number of bytes during the interval.
|
24 | 18 | SMF120HI3 | 8 | binary | Average number of bytes during the interval.
|
32 | 20 | SMF120HI4 | 8 | binary | Minimum number of free bytes during the interval.
|
40 | 28 | SMF120HI5 | 8 | binary | Maximum number of free bytes during the interval.
|
48 | 30 | SMF120HI6 | 8 | binary | Average number of free bytes during the interval.
|
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