4.3BSD-Reno/share/man/cat3/getloadavg.0

Compare this file to the similar file:
Show the results in this format:




GETLOADAVG(3)		      1990		    GETLOADAVG(3)



NNAAMMEE
     getloadavg - get system load averages

SSYYNNOOPPSSIISS
     ggeettllooaaddaavvgg((llooaaddaavvgg,, nneelleemm))
     ddoouubbllee llooaaddaavvgg[[nneelleemm]];;
     iinntt nneelleemm;;

DDEESSCCRRIIPPTTIIOONN
     _G_e_t_l_o_a_d_a_v_g returns the number of processes in the system run
     queue averaged over various periods of time.  Up to _n_e_l_e_m
     samples are retrieved and assigned to successive elements of
     _l_o_a_d_a_v_g[]. The system imposes a maximum of 3 samples,
     representing averages over the last 1, 5, and 15 minutes,
     respectively.

SSEEEE AALLSSOO
     uptime(1), nlist(3), kmem(4)

DDIIAAGGNNOOSSTTIICCSS
     If the load average was unobtainable, -1 is returned; other-
     wise, the number of samples actually retrieved is returned.

BBUUGGSS
     Programs using this utility must have read permission on
     /_d_e_v/_k_m_e_m. This restriction will eventually be lifted.





























Printed 7/27/90               June				1