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 3

This table shows the record layout for type 120 SMF records
(WebSphere Application Server Interval Record).

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 3 - 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

Subype 3 - Server Interval Record

The purpose of the server interval SMF record is to record activity that is running inside a WebSphere® Application Server for z/OS®. This record is produced at regular intervals and is an aggregate of the work that ran inside the server instance during the interval.

A single record is created for each server instance that has interval recording active during the interval. When a server is configured with multiple server instances, each server instance writes a record and the records from all the server instances must be merged by whoever is looking at the SMF records to get a complete view of the work that ran inside the logical server.

You can activate this record through the administrative console by setting server_SMF_server_interval_enabled=1 (or server_SMF_server_interval_enabled=true). You can specify an interval through the administrative console by setting server_SMF_interval_length=n, where n is the desired number of seconds.

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 Application Server Interval Record
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
2418SMF120TRN4binary
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.
281CSMF120PRS4binary
Offset to product section from RDW.
3220SMF120PRL4binary
Length of product section.
3624SMF120PRN4binary
Number of product sections.
Individual header extension for subtype 3
4028SMF120SIS4binary
Offset to server interval section from RDW
442CSMF120SIL4binary
Length of server interval section
4830SMF120SIN4binary
Number of server interval sections
The following triplet appears once for each server region section.
5234SMF120SRS4binary
Offset to server region section from RDW
5638SMF120SRL4binary
Length of server region section
603CSMF120SRN4binary
Number of server region sections
Product Section
(Offset from beginning of record: SMF120PRS)
00SMF120MFV4binary
CB SMF version
44SMF120COD8EBCDIC
Character codeset in which strings in the SMF record are encoded
12CSMF120END4binary
Encode of numbers in the SMF record
1610SMF120TSF4binary
Encoding of timestamps:
1: S390STCK64: The time values are encoded in 64-bit S/390 Store Clock format.
Reassembly information.
2014SMF120IXR4binary
Index of this record
2418SMF120NRC4binary
Total number of records
281CSMF120NTR4binary
Total number of triplets
Server Interval Section

Contains aggregated information about all activities that occurred within the specified server interval.

There is one server interval section per record.

(Offset from beginning of record: SMF120SIS)
00SMF120HN264EBCDIC
WebSphere Application Server for z/OS transaction server host name
6440SMF120SNI8EBCDIC
WebSphere Application Server for z/OS transaction server name
7248SMF120INI8EBCDIC
WebSphere Application Server for z/OS transaction server instance name
8050SMF120SST16S390STCK
Time that the sample began in the server
9660SMF120SET16S390STCK
Time that the sample ended
11270SMF120NG24binary
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
11674SMF120NL24binary
Number of local transactions that have been initiated by the server instance during the interval
12078SMF120NCS4binary
Reserved
1247CSMF120NCA4binary
The number of communications sessions that have been active during the interval
12880SMF120NLS4binary
Reserved
13284SMF120NLA4binary
Number of active local communication sessions that have been attached and active within the server instance during the interval
13688SMF120NRS4binary
Reserved
1408CSMF120NRA4binary
Number of active remote communication sessions that have been attached and active within the server instance during the interval
14490SMF120BTS4binary
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.
14894SMF120BFS4binary
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.
15298SMF120BTL4binary
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.
1569CSMF120BFL4binary
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.
160A0SMF120BTR4binary
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.
164A4SMF120BFR4binary
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.
168A8SMF120J24binary
J2EE server.
172ACSMF120CL18EBCDIC
WebSphere Application Server for z/OS transaction server cell name
180B4SMF120ND18EBCDIC
WebSphere Application Server for z/OS transaction server node name
188BCSMF120NHS4binary
Reserved
192C0SMF120NHA4binary
Number of HTTP communication sessions that have been attached and active within the server instance during the interval
196C4SMF120BTH4binary
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.
200C8SMF120BFH4binary
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.
204CCSMF120TEC8binary
Total CPU time accumulated by the WLM enclaves. TOD clock format (bit 51 = microseconds).
212D4SMF120ITS8binary
Number of bytes that have been transferred to the server from all attached clients.
220DCSMF120IFS8binary
Number of bytes that have been sent from the server to all attached clients
228E4SMF120ITL8binary
Number of bytes that have been transferred to the server from all locally attached clients
236ECSMF120IFL8binary
Number of bytes that have been transferred from the server to all locally attached clients
244F4SMF120ITR8binary
Number of bytes that have been transferred to the server from all remotely attached clients
252FCSMF120IFR8binary
Number of bytes that have been transferred from the server to all remotely attached clients
260104SMF120ITH8binary
Number of bytes that have been transferred to the server from all HTTP attached clients
26810CSMF120IFH8binary
Number of bytes that have been transferred from the server to all HTTP attached clients
276114SMF120ITP8binary
Number of bytes that have been transferred to the server from all SIP attached clients
28411CSMF120IFP8binary
Number of bytes that have been transferred from the server to all SIP attached clients.
292124SMF120NPA4Binary
Number of SIP communication sessions that have been attached and active within the server instance during the interval
296128SMF120BTP4binary
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.
30012CSMF120BFP4binary
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.
304130SMF120IR14--
Reserved
Server Servant Section

Contains information about each server servant in the specified interval.

There are zero, one, or multiple sections per record.

(Offset from beginning of record: SMF120SRS)
00SMF120SSA4binary
Servant address space ID
44SMF120SNT4binary
Number of triplets.
Heap ID Triplets

The following triplet appears 0-n times; once for each Heap ID Section.

(Offset from beginning of record: SMF120SRS+8)
00SMF120SSO4binary
Offset to heap id section from the beginning of this server servant section.
44SMF120SSL4binary
Length of heap id section.
88SMF120SSN4binary
Number of heap id sections.
Heap ID Section

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

(Offset from beginning of record: SMF120SSO)
00SMF120HIH4binary
The heap for which the following data applies.
44SMF120HIC4binary
Number of allocation failures on this heap during the interval.
88SMF120HI18binary
Minimum number of bytes during the interval.
1610SMF120HI28binary
Maximum number of bytes during the interval.
2418SMF120HI38binary
Average number of bytes during the interval.
3220SMF120HI48binary
Minimum number of free bytes during the interval.
4028SMF120HI58binary
Maximum number of free bytes during the interval.
4830SMF120HI68binary
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.

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