SMF type 113 Record
This table shows the record layout for type 113 SMF records
It's easy to report on SMF 113 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.
Segment descriptor. 4 4 SM113FLG 1 binary Header flag byte: Bit Meaning When Set 0 Subsystem identification follows system identifcation. 1 Subtypes used 2 Reserved 3-6 Version indicators 7 Reserved.
Record type 113 (X'71')
Time since midnight, in hundredths of a second, when the record was moved into the SMF buffer.
Date that the record was moved into the SMF buffer, in the form 0cyydddF.
System identification (from the SID parameter).
Indicates the record subtype:
2 — Hardware event counters.
Length of self-defining section.
Offset to subsystem section from beginning of record type 113
Length of subsystem section
Number of subsystem sections
Offset to identification section from beginning of record type 113
Length of identification section
Number of identification sections
Offset to data section from beginning of record type 113
Length of data section
Number of data sections
This section contains information about the subsystem that generated the record.
Record version number
MVS product level
Reader start time
Reader start date
Subtype 2 of record type 113 contains hardware data event counters for IBM System z10 or later machines.
For each hardware data event collection cycle, the system creates one subtype 2 for each active CPU. The system captures the valid counters and places them contiguously in subtype 2 of record type 113.
Time when the hardware data collection run started in STCK format
Time when this SMF record was written in STCK format.
Processor number for which the hardware counters in SMF113_2_CR are recorded.
Bit - Meaning When Set
0 - First SMF record for the hardware data collection run. The counter values are the initial values at the beginning of the run.
1 - Intermediate SMF record, written by the system at 15 minute intervals during the hardware data collection run. The counter values are intermediate values.
2 - Final SMF record written for this hardware data collection run. The counter values are the final values.
3 - Indicates that the SMF record was written on non-standard hardware.
4-15 - Reserved.
First counter version number. This number is increased when there is a change to the meaning of a counter or a change to the number of the installed counters in the basic or problem-state counter sets.
Second counter version number. This number is increased when there is a change to the meaning of a counter or a change to the number of the installed counters in the crypto-activity or extended counter sets. SMF119@C Sub-Type Self Defining Section
Offset to counter set section, from beginning of SMF record type 113
Length of counter set sections
Number of counter set sections
Offset to counters section, from beginning of SMF record type 113
Length of counters sections
Number of counter sections
Indicates the counter set type for counters recorded in field SMF113_2_CR:
1 -- Basic counter set
2 -- Problem-state counter set
3 –- Crypto counter set
4 -- Extended counter set
Count of 8-byte hardware counters recorded in field SMF113_2_CR.
Bit pattern identifying which hardware counters are being recorded. Each bit position maps to a hardware counter.
For example, lets say you have a bit pattern of X'FC800000 00000000'. This pattern indicates that event counters 0-5 and 8 are recorded contiguously in SMF113_2_CR fields.
Data content of hardware event counters. This repeating field contains the array of collected hardware events specific to the processor identified in field SMF113_2_CPU#.
The number of SMF113_2_CR fields is equal to the sum of the SMF113_2_CSN values for the multiple counter set sections. Counters appear in the order in which they are defined in the counter set section.
The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.
The sample SMF reports below were created with Spectrum SMF Writer, the low-cost 4GL SMF report writer.
In these reports, we read the SMF file and select just the type 113 "Hardware Capacity, Reporting and Statistics" records. (See SMF 113 record layout.)
The first report shows the contents of all Counter Set segments. It also shows the actual counter value for the first counter of the first counter set.
The second report shows the contents of all of the actual counters themselves. You can use the two reports together, along with a key to the "counter maps" for your level of z/OS, to assign meanings to the counter values.
All of this with just a few lines of code!
Why not install a Spectrum SMF Writer trial right now and start making your own SMF reports!