GLDAV(2) — UNIX Programmer’s Manual
NAME
gldav − get load average
SYNOPSIS
gldav(svec)
short svec[3];
DESCRIPTION
Gldav returns the load average on the system in internal format. The only routine which should call gldav is loadav(3). All user programs should call loadav(3), which translates the vector into a reasonable format.
The three numbers returned are the contents of the kernel variable avenrun. This variable contains the 1, 5, and 15 minute load averages in a psuedo-floating point format. The leftmost 8 bits are to the left of the decimal point, the rightmost 8 bits are to the right.
SEE ALSO
ASSEMBLER
(gldav = local 14.)
(address of vec in r0)
sys local; 9f
9:sys gldav
7th Edition