Struct procinfo::LoadAvg [] [src]

pub struct LoadAvg {
    pub load_avg_1_min: f32,
    pub load_avg_5_min: f32,
    pub load_avg_10_min: f32,
    pub tasks_runnable: u32,
    pub tasks_total: u32,
    pub last_created_pid: pid_t,
}

System load and task statistics.

The load average is the ratio of runnable and uninterruptible (waiting on IO) tasks to total tasks on the system.

See man 5 proc and Linux/fs/proc/loadavg.c.

Fields

Load average over the last minute.

Load average of the last 5 minutes.

Load average of the last 10 minutes

the number of currently runnable kernel scheduling entities (processes, threads).

the number of kernel scheduling entities that currently exist on the system.

the PID of the process that was most recently created on the system.

Trait Implementations

impl Debug for LoadAvg
[src]

Formats the value using the given formatter.

impl Default for LoadAvg
[src]

Returns the "default value" for a type. Read more

impl PartialEq for LoadAvg
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.