|
SMF type 113 RecordThis 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. 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 | SMF113LEN | 2 | binary | Record length.
|
2 | 2 | SMF113SEG | 2 | binary | 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.
|
5 | 5 | SMF113RTY | 1 | binary | Record type 113 (X'71')
|
6 | 6 | SMF113TME | 4 | packed | Time since midnight, in hundredths of a second, when the record was moved into the SMF buffer.
|
10 | A | SMF113DTE | 4 | packed | Date that the record was moved into the SMF buffer, in the form 0cyydddF.
|
14 | E | SMF113SID | 4 | EBCDIC | System identification (from the SID parameter).
|
18 | 12 | SMF113WID | 4 | EBCDIC | Subsystem identifier.
|
22 | 16 | SMF113STY | 2 | binary | Indicates the record subtype:
2 — Hardware event counters. |
24 | 18 | -- | 2 | binary | Reserved
|
26 | 1A | SMF113SDL | 2 | binary | Length of self-defining section.
|
0 | 0 | SMF113SOF | 4 | binary | Offset to subsystem section from beginning of record type 113
|
4 | 4 | SMF113SLN | 2 | binary | Length of subsystem section
|
6 | 6 | SMF113SON | 2 | binary | Number of subsystem sections
|
8 | 8 | SMF113IOF | 4 | binary | Offset to identification section from beginning of record type 113
|
12 | 0C | SMF113ILN | 2 | binary | Length of identification section
|
14 | 0E | SMF113ION | 2 | binary | Number of identification sections
|
16 | 10 | SMF113DOF | 4 | binary | Offset to data section from beginning of record type 113
|
20 | 14 | SMF113DLN | 2 | binary | Length of data section
|
22 | 16 | SMF113DON | 2 | binary | Number of data sections
|
This section contains information about the subsystem that generated the record. | |||||
0 | 0 | -- | 2 | binary | Reserved
|
2 | 2 | SMF113RVN | 2 | EBCDIC | Record version number
|
4 | 4 | SMF113PNM | 8 | EBCDIC | Product name
|
12 | C | SMF113OSL | 8 | EBCDIC | MVS product level
|
0 | 0 | SMF113JBN | 8 | EBCDIC | Job name
|
8 | 8 | SMF113RST | 4 | binary | Reader start time
|
12 | C | SMF113RSD | 4 | packed | Reader start date
|
16 | 10 | SMF113STP | 8 | EBCDIC | Step name
|
24 | 18 | -- | 8 | binary | Reserved
|
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. | |||||
0 | 0 | SMF113_ 2_ CTS | 8 | binary | Time when the hardware data collection run started in STCK format
|
8 | 8 | SMF113_ 2_ CTM | 8 | binary | Time when this SMF record was written in STCK format.
|
16 | 10 | SMF113_ 2_ CPU | 1 | binary | Processor number for which the hardware counters in SMF113_2_CR are recorded.
|
17 | 11 | -- | 1 | binary | Reserved
|
18 | 12 | SMF113_ 2_ CF | 2 | binary | Record flags:
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. |
20 | 14 | SMF113_ 2_ CTRVN1 | 2 | binary | 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.
|
20 | 16 | SMF113_ 2_ CTRVN2 | 2 | binary | 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
|
24 | 18 | SMF113_ 2_ CSOF | 4 | binary | Offset to counter set section, from beginning of SMF record type 113
|
28 | 1C | SMF113_ 2_ CSLN | 2 | binary | Length of counter set sections
|
30 | 1E | SMF113_ 2_ CSON | 2 | binary | Number of counter set sections
|
32 | 20 | SMF113_ 2_ CDOF | 4 | binary | Offset to counters section, from beginning of SMF record type 113
|
36 | 24 | SMF113_ 2_ CDLN | 2 | binary | Length of counters sections
|
38 | 26 | SMF113_ 2_ CDON | 2 | binary | Number of counter sections
|
0 | 0 | SMF113_ 2_ CST | 1 | binary | 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 |
1 | 1 | -- | 1 | binary | Reserved
|
2 | 2 | SMF113_ 2_ CSN | 2 | binary | Count of 8-byte hardware counters recorded in field SMF113_2_CR.
|
4 | 4 | SMF113_ 2_ CSP | 8 | binary | 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. |
0 | 0 | SMF113_ 2_ CR | 8 | binary | 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!
INPUT: SMF113 NORMWHEN(SMF113RTY=113 AND SMF113STY=2) NORMALIZE(SMF113_CTRSET_SECTION, SMF113_2_CSON) INCLUDEIF: SMF113RTY=113 TITLE: 'SMF113 - HARDWARE COUNTER REPORT' TITLE: 'ONE LINE PER COUNTER SET, WITH A SINGLE COUNTER' COLUMNS: SMF113_2_CTS('START|COLLECT|TIME' TP'Z9:99:99') SMF113_2_CTM('END|COLLECT|TIME' TP'Z9:99:99') SMF113DTE('END|COLLECT|DATE') SMF113_2_CPU('PROC|NUM' 4) SMF113_2_CST('CTR|SET|TYPE' 4) SMF113_2_CSN('NUM|CNTRS' 5) SMF113_2_CSP('COUNTER MAP') SMF113_2_CR('1ST|COUNTER|IN SMF REC' 18)
SMF113 - HARDWARE COUNTER REPORT ONE LINE PER COUNTER SET, WITH A SINGLE COUNTER START END END CTR 1ST COLLECT COLLECT COLLECT PROC SET NUM COUNTER TIME TIME DATE NUM TYPE CNTRS COUNTER MAP IN SMF REC ________ ________ ________ ____ ____ _____ ________________ __________________ 9:51:56 9:51:56 02/16/11 0 1 6 FC00000000000000 4,902,361 9:51:56 9:51:56 02/16/11 0 2 6 FC00000000000000 4,902,361 9:51:56 9:51:56 02/16/11 0 3 16 FFFF000000000000 4,902,361 9:51:56 9:51:56 02/16/11 0 4 29 FFFFFFF800000000 4,902,361 9:51:56 9:51:56 02/16/11 1 1 6 FC00000000000000 46,196 9:51:56 9:51:56 02/16/11 1 2 6 FC00000000000000 46,196 9:51:56 9:51:56 02/16/11 1 3 16 FFFF000000000000 46,196 9:51:56 9:51:56 02/16/11 1 4 29 FFFFFFF800000000 46,196 9:51:56 9:51:56 02/16/11 2 1 6 FC00000000000000 347,786 9:51:56 9:51:56 02/16/11 2 2 6 FC00000000000000 347,786 9:51:56 9:51:56 02/16/11 2 3 16 FFFF000000000000 347,786 9:51:56 9:51:56 02/16/11 2 4 29 FFFFFFF800000000 347,786 9:51:56 9:51:56 02/16/11 3 1 6 FC00000000000000 16,454,200 9:51:56 9:51:56 02/16/11 3 2 6 FC00000000000000 16,454,200 9:51:56 9:51:56 02/16/11 3 3 16 FFFF000000000000 16,454,200 9:51:56 9:51:56 02/16/11 3 4 29 FFFFFFF800000000 16,454,200 9:51:56 10:01:56 02/16/11 0 1 6 FC00000000000000 1,337,526,720,861 9:51:56 10:01:56 02/16/11 0 2 6 FC00000000000000 1,337,526,720,861 9:51:56 10:01:56 02/16/11 0 3 16 FFFF000000000000 1,337,526,720,861 9:51:56 10:01:56 02/16/11 0 4 29 FFFFFFF800000000 1,337,526,720,861 9:51:56 10:01:56 02/16/11 1 1 6 FC00000000000000 1,295,074,113,188 9:51:56 10:01:56 02/16/11 1 2 6 FC00000000000000 1,295,074,113,188 9:51:56 10:01:56 02/16/11 1 3 16 FFFF000000000000 1,295,074,113,188 9:51:56 10:01:56 02/16/11 1 4 29 FFFFFFF800000000 1,295,074,113,188 9:51:56 10:01:56 02/16/11 2 1 6 FC00000000000000 1,126,100,127,886 9:51:56 10:01:56 02/16/11 2 2 6 FC00000000000000 1,126,100,127,886 9:51:56 10:01:56 02/16/11 2 3 16 FFFF000000000000 1,126,100,127,886 9:51:56 10:01:56 02/16/11 2 4 29 FFFFFFF800000000 1,126,100,127,886 9:51:56 10:01:56 02/16/11 3 1 6 FC00000000000000 1,275,496,225,293 9:51:56 10:01:56 02/16/11 3 2 6 FC00000000000000 1,275,496,225,293 9:51:56 10:01:56 02/16/11 3 3 16 FFFF000000000000 1,275,496,225,293 9:51:56 10:01:56 02/16/11 3 4 29 FFFFFFF800000000 1,275,496,225,293 9:51:56 10:01:56 02/16/11 4 1 6 FC00000000000000 1,217,980,173,581 9:51:56 10:01:56 02/16/11 4 2 6 FC00000000000000 1,217,980,173,581 9:51:56 10:01:56 02/16/11 4 3 16 FFFF000000000000 1,217,980,173,581 9:51:56 10:01:56 02/16/11 4 4 29 FFFFFFF800000000 1,217,980,173,581 ...
INPUT: SMF113 NORMWHEN(SMF113RTY=113 AND SMF113STY=2) NORMALIZE(SMF113_CTRS_SECTION, SMF113_2_CDON) INCLUDEIF: SMF113RTY=113 TITLE: 'SMF113 - HARDWARE COUNTER REPORT' TITLE: 'ALL COUNTERS' COLUMNS: SMF113_2_CTS('START|COLLECT|TIME' TP'Z9:99:99') SMF113_2_CTM('END|COLLECT|TIME' TP'Z9:99:99') SMF113DTE('END|COLLECT|DATE') SMF113_2_CPU('PROC|NUM' 4) SMF113_2_CR('HARDWARE|COUNTER|VALUE' 18)
SMF113 - HARDWARE COUNTER REPORT ALL COUNTERS START END END HARDWARE COLLECT COLLECT COLLECT PROC COUNTER TIME TIME DATE NUM VALUE ________ ________ ________ ____ __________________ 9:51:56 9:51:56 02/16/11 0 4,902,361 9:51:56 9:51:56 02/16/11 0 465,765 9:51:56 9:51:56 02/16/11 0 16,819 9:51:56 9:51:56 02/16/11 0 1,011,153 9:51:56 9:51:56 02/16/11 0 21,134 9:51:56 9:51:56 02/16/11 0 4,170,049 9:51:56 9:51:56 02/16/11 0 14,501 9:51:56 9:51:56 02/16/11 0 507 9:51:56 9:51:56 02/16/11 0 66 9:51:56 9:51:56 02/16/11 0 16,029 9:51:56 9:51:56 02/16/11 0 44 9:51:56 9:51:56 02/16/11 0 11,503 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 9:51:56 9:51:56 02/16/11 0 0 ...
Home |
Products |
Prices |
Documentation |
30-Day Trials |
Customer Reviews |
Company
| FAQ
| Sample Reports
| SMF Records
Send Your Comments or Questions