PEEK Reference Manual

PEEK Syntax and Examples
PEEK Reference Manual — 529657-006
2 - 48
Elements of the TIME Display
Examples
1. This example displays the amount and percentage of time processor 2 has spent
on processes and interrupts and the amount and percentage of idle time since the
processor was last loaded:
> PEEK / CPU 2 / TIME
PEEK - T9050G09 - (05AUG02) SYSTEM \VIOLET
COPYRIGHT TANDEM COMPUTERS INCORPORATED 1981, 1985, 1988, 1990
SYSTEM \VIOLET
22 FEB 2004, 16:24___ELAPSD 832:35:40___CPU 2(NSR-T)
TIME: PROCESSBUSY TIME INTERRUPT TIME IDLE TIME
88:08:12.538 10.58% 20:46:18.792 2.49% 723:41:08.875 86.91%
Processor 2 has had this activity during the 832 hours since it was last loaded:
It has been busy with processes 10.58 percent of the time.
It has spent 2.49 percent of its time on interrupts.
It has been idle 86.91 percent of the time.
2. This example displays TIME statistics for processor 2 since it was last loaded and
for the ten seconds after Report 1 is generated:
> PEEK / CPU 2 / TIME, 2, 10, DYNAMIC
Report 1:
PEEK - T9050G09 - (05AUG02) SYSTEM \VIOLET
COPYRIGHT TANDEM COMPUTERS INCORPORATED 1981, 1985, 1988, 1990
SYSTEM \VIOLET
22 FEB 2004, 12:48__ELAPSD 360:51:24__CPU 2(NSR-T)__SAMP 1/2,DELAY 10
TIME: PROCESSBUSY TIME INTERRUPT TIME IDLE TIME
40:15:43.006 11.15% 8:26:55.183 2.34% 312:08:46.055 86.50%
Report 2:
SYSTEM \VIOLET
22 FEB 2004, 12:48__ELAPSD 0:00:10__CPU 2(NSR-T) __SAMP 2/2,DELAY 10
TIME: PROCESSBUSY TIME INTERRUPT TIME IDLE TIME
0:00:00.897 8.74% 0:00:00.269 2.63% 0:00:09.095 88.62%
Note the differences between these elements of Reports 1 and 2:
PROCESSBUSY TIME: Since it was last loaded, processor 2 has been busy
with processes 11.15 percent of its time. In the 10-second interval shown in
Report 2, this processor has been busy with processes 8.74 percent of its time.
INTERRUPT TIME: Since it was last loaded, processor 2 has been busy with
interrupts 2.34 percent of its time. In the 10-second interval shown in Report 2,
this processor has been busy with interrupts 2.63 percent of its time.