4.4BSD/usr/share/man/cat3/kvm_getloadavg.0

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

KVM_GETLOADAVG(3)           BSD Programmer's Manual          KVM_GETLOADAVG(3)

NNAAMMEE
     kkvvmm__ggeettllooaaddaavvgg - get error message on kvm descriptor

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssyyss//rreessoouurrccee..hh>>
     ##iinncclluuddee <<kkvvmm..hh>>

     _i_n_t
     kkvvmm__ggeettllooaaddaavvgg(_k_v_m___t _*_k_d, _d_o_u_b_l_e _l_o_a_d_a_v_g_[_], _i_n_t _n_e_l_e_m);

DDEESSCCRRIIPPTTIIOONN
     The kkvvmm__ggeettllooaaddaavvgg() function returns the number of processes in the sys-
     tem run queue of the kernel indicated by _k_d, averaged over various peri-
     ods of time.  Up to _n_e_l_e_m samples are retrieved and assigned to succes-
     sive 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.

DDIIAAGGNNOOSSTTIICCSS
     If the load average was unobtainable, -1 is returned; otherwise, the num-
     ber of samples actually retrieved is returned.

SSEEEE AALLSSOO
     uptime(1),  kvm(3),  getloadavg(3)

4.4BSD                           June 4, 1993                                1