Compaq AA-Q88CE-TE manual Aggregation of Data Items, Some output has been omitted for clarity

Models: AA-Q88CE-TE

1 320
Download 320 pages 38.47 Kb
Page 263
Image 263

Creating Monitor Pictures

A.3 Arithmetic Expressions and Operators

Aggregation of Data Items

DISPLAY commands which select multiple instances of a data item (for example, multiple instances of a process counter) can use the following keywords to control the way the items are aggregated.

_MIN—select the data item instance with the lowest value

_MAX—select the data item instance with the higheest value

By default, data items are totaled unless the /AVERAGE=( ) qualifier is specified.

The following example from SYSTEM.MON shows the use of the _MIN keyword:

! Warn if any messages have been pending for more than 30 seconds DISPLAY TEXT /X=32 /Y=17 -

"X" - /BOLD - /SELECT="...

((rtr:rtr_current_time - _MIN(prc:rtr_mt_received_time)) <= 30)"

DISPLAY TEXT /X=40 /Y=17 - "X" -

/BOLD /BLINK - /SELECT="...

((rtr:rtr_current_time - _MIN(prc:rtr_mt_received_time)) > 30)"

Some output has been omitted for clarity.

Creating Monitor Pictures A–5

Page 263
Image 263
Compaq AA-Q88CE-TE manual Aggregation of Data Items, Some output has been omitted for clarity