Question:
How is "Compute Processor Queue Length" Calculated by cdm on Solaris Systems?
Answer:
The cdm probe uses uptime(1) for Solaris machines.
Depending on the interval of the probe, it uses one of the fields from the load average:
When the probe interval >= 15 minutes, the 15 minute load average is used.
Otherwise when the probe interval >= 5 minutes, the 5 minute load average is used.
Otherwise, the 1 minute load average is used
For example, if the probe runs with interval 5 minutes, it uses the second value, 0.26 in the example below.
If the probe is not running at 1, 5, or 15 mintue intervals, it will use the nearest value:
Interval 7 minutes: the 5 minute value
Interval 2 minutes: the 1 minute value
Interval 3 minutes: the 3 minute value
>From the man-page:
NAME
uptime - show how long the system has been up
SYNOPSIS
uptime
DESCRIPTION
The uptime command prints the current time, the length of
time the system has been up, and the average number of jobs
in the run queue over the last 1, 5 and 15 minu
10:47am up 27 day(s), 50 mins, 1 user, load average: 0.18, 0.26, 0.20tes. It is,
essentially, the first line of a w(1) command.
EXAMPLES
Below is an example of the output uptime provides:
example% uptime
10:47am up 27 day(s), 50 mins, 1 user, load average: 0.18, 0.26, 0.20