Counter sets output in a .CNT file

Start of changeThe system may generateEnd of change a .CNT output file after the data collection run. You can request the system to generate only the delta counter data information in your data collection run by specifying CTRONLY parameter on the MODIFY hisproc,BEGIN command. Start of changeUnless you have specified the CNTFILE=NO parameter on the MODIFY hisproc,BEGIN command, theEnd of change HIS Profiler returns the delta data in an z/OS® UNIX System Services output file (SYSHISyyyymmdd.hhmmss.xxx.CNT) in your HOME directory or the user-specified directory.

The following counter sets can be collected in the .CNT output files: See Starting, configuring, and stopping hardware event data collection for more information about how to select the type of the counter data set on the MODIFY hisproc command.

The Basic, Problem, Extended, and Crypto activity counter sets require the CPU Measurement Facility to be installed on the machine and available for any authorized program. The z/OS counter set is used for IBM diagnostic purposes and requires the Enhanced Monitor Facility to be installed on the machine.

Start of changeThe MT-diagnostic counter set is available only when PROCVIEW CORE is specified in the LOADxx parmlib member and when running on hardware that supports multithreading (MT).End of change

The following shows one example of the .CNT output file that is embedded in the message text of HIS019I. The output contains counter values for the BASIC, PROBLEM-STATE, CRYPTO-ACTIVITY, EXTENDED, and Start of changeMT-DIAGNOSTICEnd of change counter sets on a system with two processors Start of change(one core). MT-diagnostic counter set data is reported from one CPU on each coreEnd of change.
HIS019I EVENT COUNTERS INFORMATION VERSION 3
FILE NAME: SYSHIS20100301.161406.000.CNT
COMMAND: MODIFY HIS,B,CTRONLY,CTR=ALL
STATE CHANGE: NO MODEL: 2097-710 SEQCODE: 1234567812345678
COUNTER VERSION NUMBER 1: 1   COUNTER VERSION NUMBER 2: 1

COUNTER SET= BASIC          
COUNTER IDENTIFIERS:
   0: CYCLE COUNT
   1: INSTRUCTION COUNT
   2: L1 I-CACHE DIRECTORY-WRITE COUNT
   3: L1 I-CACHE PENALTY CYCLE COUNT
   4: L1 D-CACHE DIRECTORY-WRITE COUNT
   5: L1 D-CACHE PENALTY CYCLE COUNT

START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C44268E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3551AAAB
COUNTER VALUES (HEXADECIMAL) FOR CPU 00 (CPU SPEED = 2455 CYCLES/MIC):
  0-  3 00000013CBAA4CD7 0000000333EA30C9 000000000A4BCF64 0000000157C1BB9E
  4-  7 000000000BF8AE6C 0000000A31F8354C ---------------- ----------------

START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C5A930E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3553932B
COUNTER VALUES (HEXADECIMAL) FOR CPU 01 (CPU SPEED = 2455 CYCLES/MIC):
  0-  3 0000004068D6004A 00000011F3F57DE5 000000000BB82A62 000000021A79D610
  4-  7 0000000012AFD068 0000001577743AC1 ---------------- ----------------

COUNTER SET= PROBLEM-STATE  
COUNTER IDENTIFIERS:
  32: PROBLEM-STATE CYCLE COUNT
  33: PROBLEM-STATE INSTRUCTION COUNT
  34: PROBLEM-STATE L1 I-CACHE DIRECTORY-WRITE COUNT
  35: PROBLEM-STATE L1 I-CACHE PENALTY CYCLE COUNT
  36: PROBLEM-STATE L1 D-CACHE DIRECTORY-WRITE COUNT
  37: PROBLEM-STATE L1 D-CACHE PENALTY CYCLE COUNT

START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C44268E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3551AAAB
COUNTER VALUES (HEXADECIMAL) FOR CPU 00 (CPU SPEED = 2455 CYCLES/MIC):
 32- 35 00000000FAB630CB 0000000025556804 000000000082BA33 0000000022DC4926
 36- 39 00000000009BABE1 0000000074579FA8 ---------------- ----------------

START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C5A930E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3553932B
COUNTER VALUES (HEXADECIMAL) FOR CPU 01 (CPU SPEED = 2455 CYCLES/MIC):
 32- 35 000000006F30CE68 00000000100B5233 00000000003D9C8B 00000000150917D0
 36- 39 0000000000432F96 0000000031EBD508 ---------------- ----------------

COUNTER SET= CRYPTO-ACTIVITY
COUNTER IDENTIFIERS:
  64: PRNG FUNCTION COUNT
  65: PRNG CYCLE COUNT
  66: PRNG BLOCKED FUNCTION COUNT
  67: PRNG BLOCKED CYCLE COUNT
  68: SHA FUNCTION COUNT
  69: SHA CYCLE COUNT
  70: SHA BLOCKED FUNCTION COUNT
  71: SHA BLOCKED CYCLE COUNT
  72: DEA FUNCTION COUNT
  73: DEA CYCLE COUNT
  74: DEA BLOCKED FUNCTION COUNT
  75: DEA BLOCKED CYCLE COUNT
  76: AES FUNCTION COUNT
  77: AES CYCLE COUNT
  78: AES BLOCKED FUNCTION COUNT
  79: AES BLOCKED CYCLE COUNT

START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C44268E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3551AAAB
COUNTER VALUES (HEXADECIMAL) FOR CPU 00 (CPU SPEED = 2455 CYCLES/MIC):
64- 67 0000000000000000 0000000000000000 0000000000000000 0000000000000000
68- 71 00000000005ABB5D 00000012EE9487DF 0000000000000000 0000000000000000
72- 75 0000000005E0C165 0000000632A0775E 0000000000000000 0000000000000000
76- 79 0000000000ACF18D 0000002085B30F22 0000000000000000 0000000000000000

START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C5A930E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3553932B
COUNTER VALUES (HEXADECIMAL) FOR CPU 01 (CPU SPEED = 2455 CYCLES/MIC):
64- 67 0000000000000000 0000000000000000 0000000000000000 0000000000000000
68- 71 00000000005F8B20 00000013F0CA4C6D 000000000001B7CA 0000000040FA5733
72- 75 00000000060F2989 00000007812E3E13 0000000000063797 000000011E3A6AFA
76- 79 0000000000B2557F 00000023091B160E 000000000005C644 00000000B63559A2

COUNTER SET= EXTENDED
COUNTER IDENTIFIERS:
 MODEL DEPENDENT INFORMATION NOT AVAILABLE 
 
START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C44268E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3551AAAB
COUNTER VALUES (HEXADECIMAL) FOR CPU 00 (CPU SPEED = 2455 CYCLES/MIC):
128-131 0000000009EA3C93 00000000060172E5 0000000000592F82 00000000041C7A16
132-135 000000000000B0D4 00000000001E1B43 00000000004E23B8 000000000002A288
136-139 000000000096A725 00000000001F46C9 0000000000E71233 0000000002C1FCBF
140-143 000000000151A506 0000000000475EF6 00000000000339DD 0000000000000000
144-147 0000000000000000 00000000454D1FEF 000000025439A8B5 00000000981D8BD6
148-151 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  
START TIME: 2010/03/01 16:14:06  START TOD: C59D40379C5A930E
END TIME:   2010/03/01 16:16:41  END TOD:   C59D40CB3553932B
COUNTER VALUES (HEXADECIMAL) FOR CPU 01 (CPU SPEED = 2455 CYCLES/MIC):
128-131 000000000ABE9264 0000000007A04424 0000000000DAA195 00000000069AE0F4
132-135 000000000003D1DD 00000000004C9BE6 0000000000BAFFD3 0000000000043A8F
136-139 00000000010E0561 000000000067A15E 0000000000FFF2A3 00000000054C2E8C
140-143 0000000002894CF7 00000000007DE480 000000000005BBAA 0000000000000000
144-147 0000000000000000 000000007015060C 00000008427EA97D 00000001C5B9F720
148-151 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Start of change
  
COUNTER SET= MT-DIAGNOSTIC
COUNTER IDENTIFIERS:
  MODEL DEPENDENT INFORMATION NOT AVAILABLE
  
START TIME: 2010/03/01 16:14:06 START TOD: C59D40379C44268E
END TIME: 2010/03/01 16:16:41 END TOD: C59D40CB3551AAAB
COUNTER VALUES (HEXADECIMAL) FOR CPU 0000 (CPU SPEED = 2950 CYCLES/MIC):
  448- 451 000000000008CFDC 0000000000119FB8 0000000000000015  0000000000000015
  452- 455 000000000001720B 000000000003EC8E 0000000000000015  0000000000000015
  456- 459 0000000000000015 ---------------- ----------------  ----------------
End of change
Note: If programmatically parsing the .CNT file, the format of the output file is loosely structured. For example, a parser cannot rely on the number of spaces between text to determine the value of a certain field.

For significant changes, the version number of the .CNT file will be incremented. The first line of the .CNT file will always be HIS019I EVENT COUNTERS INFORMATION VERSION x, where x is the version number of the .CNT file. Any change to the version number will be an indication that the structure of the file has been altered and parsing rules for previous versions may no longer be applicable. An example of a significant change is the addition of an extra line.