Queue lengths – HP NonStop G-Series User Manual
Page 160
Creating an Enform Report From Measure Data
Measure User’s Guide — 520560-003
A- 2
Queue Lengths
This Enform session displays the PROCESS CPU-BUSY-TIME counter in
microseconds in the column CPU-BUSY-TIME and as a percent busy value in the
column PERCENT BUSY:
>OPEN PROCESS;
>LIST PROGRAM-FILE-NAME, CPU-BUSY-TIME,
>((CPU-BUSY-TIME*100.000)/DELTA-TIME) HEADING "PERCENT BUSY",
>WHERE PROGRAM-FILE-NAME CONTAINS "MCOM";
PROGRAM-FILE-NAME CPU-BUSY-TIME PERCENT BUSY
------------------------ -------------- ------------
$DATD QUOTAS MCOM 7883841 1.676
$DATD QUOTAS MCOM 382553 .452
The PROGRAM-FILE-NAME field of the PROCESS record contains the name of the
executing program file. The DELTA-TIME field contains the duration of the report
window in microseconds. The WHERE clause of the LIST command selects the
records to be included in the report.
Queue Lengths
The uninterpreted value provided by the structured report for a queue counter is the
number of microseconds spent in the queue. To calculate average queue length, use
this formula:
(counter * 1.000)
/
delta-time
This Enform session displays the PROCESS PRES-PAGES-QTIME counter in
microseconds in the column PRES-PAGES-QTIME and as an average queue length in
the column AVG LENGTH:
>LIST PROGRAM-FILE-NAME,PRES-PAGES-QTIME,
>((PRES-PAGES-QTIME*1.000)/DELTA-TIME) HEADING "AVG LENGTH",
>WHERE PROGRAM-FILE-NAME CONTAINS "MCOM";
PROGRAM-FILE-NAME PRES-PAGES-QTIME AVG LENGTH
------------------------ ---------------- ----------
$DATD QUOTAS MCOM 52231001254 111.082
$DATD QUOTAS MCOM 5318962216 62.978
The PROGRAM-FILE-NAME field of the PROCESS record contains the name of the
executing program file. The DELTA-TIME field contains the duration of the report
window in microseconds. The WHERE clause of the LIST command selects the
records to be included in the report.