Go to Home Page
Questions?
Call 1-800-572-5517
 
  Go to Home Page  
  See all products
  See price schedules
  See manuals, tutorials, articles
  Download a free 30-day trial
  See user testimonials
  About Pacific Systems Group
 
 
SMF Tools
  See SMF Record Layouts
  See Sample SMF Reports
  Learn How to Export SMF Data
  Download Free SMF Reporting Software (30 days)
 
One of the greatest SMF record parsing programming languages I've ever seen. Chief, Large Systems Services Branch, NIH
  Choose Spectrum Writer to add 4GL to your product
  Free 60-Page Book (PDF) - How to Make an SMF Report
Spectrum DCOLLECT Reporter - the 4GL DCOLLECT Report Writer.

Spectrum SMF Writer - the 4GL SMF Report Writer.

SMF Type 120 Record - Subtype 11

This table shows the record layout for type 120 SMF records
(WebSphere Appl - Liberty Server).

List of other SMF record layouts available.
List of sample SMF reports.

Purpose: WebSphere Application Server writes record type 120 to collect WebSphere Application Server performance statistics.

Record type 120 has the following subtypes:

  • Subtype 1 - the Server Activity record
  • Subtype 6 - the Server Interval record
  • Subtype 5 - the J2EE Container Activity Record
  • Subtype 6 - the J2EE Container Interval Record
  • Subtype 7 - the WebContainer Activity record
  • Subtype 8 - the WebContainer Interval record
  • Subtype 9 - Network Deployment (z/OS) Request Activity record
  • Subtype 11 - Liberty server log information about HTTP requests

Subtype 11 - Liberty server log information about HTTP requests

It's easy to report on SMF 120 data! (Jump to sample reports)

SMF Spectrum Writer
We have a low-cost 4GL report writer especially for SMF files. It's called Spectrum SMF Writer.

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.
 
Try It FREE Now!

SMF Type 120 Record -- WebSphere Appl - Liberty Server
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF120LEN2binary
Record length. This field and the next field (total of four bytes) form the RDW (record descriptor word).
22SMF120SEG2binary
Segment descriptor (see record length field)
44SMF120FLG1binary
Bit meaning when set
0: New SMF record format
1: Subtypes used
2: Reserved
3-6: Version indicators*
7: Reserved
55SMF120RTY1binary
Record type 120(X'78')
66SMF120TME4binary
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
10ASMF120DTE4packed
Date when the record was moved into the SMF buffer, in the form 0 cyydddF.
14ESMF120SID4EBCDIC
System identification (from the SMFPRMxx SID parameter)
1812SMF120SSI4EBCDIC
Subsystem identification from SUBSYS parameter
2216SMF120RST2binary
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
Individual header extension for subtype 11
2418SMF120BAA4Numeric
Version of the SMF 120-11 record. Changed from Version (2) to Version (3) in 19.0.0.4.
281CSMF120BAB4Numeric
Count of the triplets which follow
3220SMF120BAC4Numeric
If the whole record is split across multiple records, this is the index. Never happens for 120-11 records.
3624SMF120BAD4Numeric
If the whole record is split across multiple records, this is the total record count. Never happens for 120-11 records.
4028SMF120BAE8Numeric
If the whole record is split across multiple records, this token will be the same across the parts. Never happens for 120-11 records.
Subtype 11 Triplets
4830SMF120BAF4Numeric
The offset to the server identification section
5234SMF120BAG4Numeric
The length of the server identification section.
5638SMF120BAH4Numeric
The number of server identification sections (always one).
603CSMF120BAI4Numeric
The offset to the user data sections.
6440SMF120BAJ4Numeric
The size of the user data section
6844SMF120BAK4Numeric
The count of user data sections
7248SMF120BBG4Numeric
The offset to the request information section.
764CSMF120BBH4Numeric
The length of the request information section.
8050SMF120BBI4Numeric
The count of request information sections (always one).
8454SMF120BBJ4Numeric
The offset to the classification data sections.
8858SMF120BBK4Numeric
The length of the classification data section.
925CSMF120BBL4Numeric
The count of classification data sections.
9660SMF120BCO4Numeric
The offset to the network data section.
10064SMF120BCP4Numeric
The length of the network data section.
10468SMF120BCQ4Numeric
The count of network data sections (always one).
Subtype 11 - Server Identification section
One instance per record
(Offset from beginning of record: SMF120BAF)
00SMF120BAL4Numeric
Version of the server identification section. Changed from Version (2) to Version (3) in 19.0.0.4.
44SMF120BAM8Character
z/OS system name from CVTSNAME. Hex offset value corrected in 19.0.0.4.
12CSMF120BAN8Character
The z/OS sysplex name from ECVTSPLX. Hex offset value corrected in 19.0.0.4.
2014SMF120BAO8Character
The server JES job ID from JSABJBID. Hex offset value corrected in 19.0.0.4.
281CSMF120BAP8Character
The server JES job name from JSABJBNM. Hex offset value corrected in 19.0.0.4.
3624SMF120BAQ8Numeric
The address space token (stoken) of the server address space. Hex offset value corrected in 19.0.0.4.
442CSMF120BCW4Numeric
The address space id (ASID) of the server address space. Hex offset value corrected in 19.0.0.4.
3048SMF120BCX128Character
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.
176B0SMF120BCY16Character
Code level of the server. Hex offset value corrected in 19.0.0.4.
192C0SMF120BCZ4Numeric
USS Process ID for the server. Hex offset value corrected in 19.0.0.4.
196C4SMF120BDJ4Binary
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

Subtype 11 - User Data section.
Up to 5 instances per record
(Offset from beginning of record: SMF120BAK)
00SMF120BAR4Numeric
Version of the user data section
44SMF120BAS4Numeric
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).
88SMF120BAT4Numeric
Length of the user data set into the user data field.
12CSMF120BDH2048EBCDIC
The actual user data set by the application.
Subtype 11 - Request Information section
One instance per record
(Offset from beginning of record: SMF120BBG)
00SMF120BBP4Numeric
The version of the request information section
44SMF120BBQ4Numeric
The TCB address of the thread that dispatched the request.
88SMF120BBR16Numeric
The z/OS TTOKEN of the thread that dispatched the request.
2418SMF120BBS8Numeric
From pthread_self()
3220SMF120BBT8Numeric
The GMT offset needed to get local time from GMT timestamps.
4028SMF120BBU8Numeric
From java method Thread.currentThread().getId()
4830SMF120BBV23Numeric
A theoretically unique identifier for the request. 71 47 Reserved 1 Reserved
7248SMF120BBW8Numeric
GMT timestamp, in STCK format, when the request started dispatch
8050SMF120BBX8Numeric
GMT timestamp, in STCK format, when the request ended dispatch
8858SMF120BBY8EBCDIC
If classified with WLM, this is the transaction class string used for classification.
9660SMF120BBZ16EBCDIC
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.

70112SMF120BCA16EBCDIC
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.

12880SMF120BCB8Numeric
WLM enclave delete CPU value returned in the IWM4EDEL CPUTIME parameter.
13688SMF120BCC8Numeric
WLM enclave delete CPU service value returned in the IWM4EDEL CPUSERVICE parameter.
14490SMF120BCD8Numeric
WLM enclave delete zAAP CPU value returned in the IWM4EDEL ZAAPTIME parameter.
15298SMF120BCE8Numeric
WLM enclave delete zAAP service value returned in the IWM4EDEL ZAAPSERVICE parameter.
160A0SMF120BCF8Numeric
WLM enclave delete zIIP CPU value returned in the IWM4EDEL ZIIPTIME parameter.
168A8SMF120BCG8Numeric
WLM enclave delete zIIP service value returned in the IWM4EDEL ZIIPSERVICE parameter.
176B0SMF120BCH4Numeric
WLM enclave delete zAAP normalization factor. value returned in the IWM4EDEL ZAAPNFACTOR parameter.
180B4SMF120BCI4Numeric
WLM enclave delete response time ratio value returned in the IWM4EDEL RESPTIME_RATIO parameter.
184B8SMF120BCJ8Numeric
The token returned by WLM to represent the enclave used for this request.
192C0SMF120BCK64EBCDIC
The received userid.
256100SMF120BCL8EBCDIC
If the received ID was mapped to a SAF identity, that user id is here.
264108SMF120BCM4Numeric
The length of the URI for the request.
26810CSMF120BCN128EBCDIC
The actual URI for the request.
Subtype 11 - Classification section
Up to three instances per record
(Offset from beginning of record: SMF120BBL)
00SMF120BDA4Numeric
The version for the Classification section
44SMF120BDB4Numeric
6=URI, 7=target host, 8=target port
88SMF120BDC4Numeric
The length of the classification string
12CSMF120BDD128EBCDIC
The classification string
Subtype 11 - Network Data section
One instance per record
(Offset from beginning of record: SMF120BCO)
00SMF120BCR4Numeric
The version of the network data section 4 4 Reserved 8 Reserved
12CSMF120BDI8Numeric
Number of bytes in the response to the request.
2014SMF120BCS4Numeric
The target port of the request.
2418SMF120BCT4Numeric
The origin port for the request.
281CSMF120BCU4Numeric
The length of the origin address string.
3220SMF120BCV40EBCDIC
The origin address string.

The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.

Sample Report from SMF 120
WebSphere Application Java CPU Times


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!

These Spectrum SMF Writer Statements:


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')

 

Produce This SMF Report:


                                            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)

See other sample SMF reports.

Copyright 2024.
Pacific Systems Group.
All rights reserved.


Spectrum Writer 4GL - the economical alternative to SAS, Easytrieve, DYL-280...

Home | Products | Prices | Documentation | 30-Day Trials | Customer Reviews | Company | FAQ | Sample Reports | SMF Records
Send Your Comments or Questions