Structure - Used to present a host's processor load information.
#define CPU_STATE_USER 0 #define CPU_STATE_SYSTEM 1 #define CPU_STATE_IDLE 2 struct host_load_info { integer_t avenrun[3]; integer_t mach_factor[3]; }; typedef struct host_load_info* host_load_info_t;
The host_load_info structure defines the loading information available about a host. The information returned is exponential averages over three periods of time: 5, 30 and 60 seconds.
Functions: host_statistics.
Data Structures: host_basic_info, host_sched_info.