Or you could look at the Redbooks. The additional files from REDP3818
has a sample for a monwrite machine that filters records. In this case
CPU usage records.
Kris, isn't TSLAMON avalable on the VM download packages?
Regards, Berry.
Kris Buelens schreef:
Here some code from y TSLAMON EXEC that performs some calculations
(CPU usage and WAIT%), These waits is something RTM/ESA nor VMPRF
didn't provide in real-time, hence my -old- code.
'|Irefr: FaninAny',
'|R: REXX ('myname mytype')' refresh, /* Perform calculations */
'|FILESLOW' fid,
'?IMMCMD SUSPEND|SPEC /SUSPEND/ 1|Irefr:',
'?IMMCMD $$REXX$$|INSERT /$$REXX$$ / 1|Irefr:',
'? starmon mondcss sample', /* Obtain data */
'|R4: STRFIND X4040404004400004', /* Keep Domain 4, record 4 */
'|R:', /* Pass for calculations */
'?R4:|STRFIND X4040404004400003', /* Also Domain 4, record 3 */
'|R:', /* Pass for calculations */
The complete TSLAMON EXEC is available on request.