|
SMF Type 120 Record - Subtype 8This 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 | SMF120WI1 | 4 | binary | Offset to WebContainer interval section from RDW.
|
44 | 2C | SMF120WI2 | 4 | binary | Length of WebContainer interval section.
|
48 | 30 | SMF120WI3 | 4 | binary | Number of WebContainer interval sections.
|
52 | 34 | SMF120WI4 | 4 | binary | Offset to HttpSessionManager interval section from RDW.
|
56 | 38 | SMF120WI5 | 4 | binary | Length of HttpSessionManager interval section.
|
60 | 3C | SMF120WI6 | 4 | binary | Number of HttpSessionManager interval sections.
|
64 | 40 | SMF120WI7 | 4 | binary | Offset to WebApplication section from RDW.
|
68 | 44 | SMF120WI8 | 4 | binary | Length of WebApplication section.
|
72 | 48 | SMF120WI9 | 4 | binary | Number of WebApplication 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
|
There is one section per record. The WebContainer activity section contains information about each activity that occurred within one web container. | |||||
0 | 0 | SMF120WIA | 64 | EBCDIC | The WebSphere transaction server host name.
|
64 | 40 | SMF120WIB | 8 | EBCDIC | The WebSphere transaction server name.
|
72 | 48 | SMF120WIC | 8 | EBCDIC | The WebSphere transaction server instance name.
|
80 | 50 | SMF120WID | 16 | S390STCK | The time the sample began.
|
96 | 60 | SMF120WIE | 16 | S390STCK | The time the sample ended.
|
112 | 70 | SMF120CL5 | 8 | EBCDIC | Cell
|
120 | 78 | SMF120ND5 | 8 | EBCDIC | Node
|
There is one section per record. The HttpSessionManager section contains information about all (there may be zero or one) http sessions associated to one single activity. | |||||
0 | 0 | SMF120WIF | 4 | binary | 'createdSessions': Number of http sessions that were created.
|
4 | 4 | SMF120WIG | 4 | binary | 'invalidatedSessions': Number of http sessions that were invalidated.
|
8 | 8 | SMF120WIH | 4 | binary | 'activeSessions': Current® number of http sessions that are actively referenced in the server at the end of the interval.
|
12 | C | SMF120WII | 4 | binary | 'minActiveSessions': Minimum number of active http sessions during the interval..
|
16 | 10 | SMF120WIJ | 4 | binary | 'maxActiveSessions': Maximum number of active http sessions during the interval.
|
20 | 14 | SMF120WIK | 4 | binary | 'sessionLifeTime': Average lifetime (in milliseconds) of invalidated http sessions.
|
24 | 18 | SMF120WIL | 4 | binary | 'sessionInvalidateTime': Average time (in milliseconds) that was required to process the invalidation of http sessions.
|
28 | 1C | SMF120WIM | 4 | binary | 'finalizedSessions': Number of sessions that were finalized.
|
32 | 20 | SMF120WIN | 4 | binary | 'liveSessions': Total number of http sessions being tracked by the server at the end of the interval. This includes both active and inactive sessions.
|
36 | 24 | SMF120WIO | 4 | binary | 'minLiveSessions': Minimum number of live http sessions during the interval.
|
40 | 28 | SMF120WIP | 4 | binary | 'maxLiveSessions': Maximum number of live http sessions during the interval.
|
There are multiple (0-n) sections per record. The WebApplication section contains information about all WebApplications involved in this activity. | |||||
0 | 0 | SMF120WIQ | 256 | Unicode | The WebApplication name.
|
256 | 100 | SMF120WIR | 4 | binary | 'numLoadedServlets': Number of servlets that were loaded.
|
260 | 104 | SMF120WIS | 4 | binary | Number of servlet triplets in this web application section. Note: This value might differ from the number of servlet sections in this record since servlets might exist that have been inactive during the interval.
|
The following triplet appears 0-n times, once for each servlet section | |||||
0 | 0 | SMF120WIT | 4 | binary | Offset to servlet section from the beginning of this WebApplication section.
|
4 | 4 | SMF120WIU | 4 | binary | Length of the servlet section.
|
8 | 8 | SMF120WIV | 4 | binary | Number of servlet section.
|
There are multiple (0-n) sections per WebApplication section. The Servlet activity section contains information about each servlet associated with WebApplications involved in this activity. | |||||
0 | 0 | SMF120WIW | 256 | Unicode | The servlet name.
|
256 | 100 | SMF120WIX | 4 | binary | 'totalRequests': Number of times the servlet service was requested during the interval.
|
260 | 104 | SMF120WIY | 4 | binary | 'responseTime': Average response time in milliseconds.
|
264 | 108 | SMF120WIZ | 4 | binary | 'minResponseTime': Minimum response time in milliseconds.
|
268 | 10C | SMF120WJ1 | 4 | binary | 'maxResponseTime': Maximum response time in milliseconds.
|
272 | 110 | SMF120WJ2 | 4 | binary | 'numErrors': The number of errors that were encountered during servlet execution.
|
276 | 114 | SMF120WJ3 | 16 | EBCDIC | 'loadedSince': Timestamp when the servlet was loaded.
Example: Fri May 25 08:42:25 EDT 2001 |
292 | 124 | SMF120WJ4 | 8 | binary | Average cpu time in microseconds.
|
300 | 12C | SMF120WJ5 | 8 | binary | Minimum cpu time in microseconds.
|
308 | 134 | SMF120WJ6 | 8 | binary | Maximum cpu time in microseconds.
|
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