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_avg_1_min: f32

Load average over the last minute.

load_avg_5_min: f32

Load average of the last 5 minutes.

load_avg_10_min: f32

Load average of the last 10 minutes

tasks_runnable: u32

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

tasks_total: u32

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

last_created_pid: pid_t

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

Trait Implementations

impl Debug for LoadAvg[src]

impl Default for LoadAvg[src]

impl PartialEq<LoadAvg> for LoadAvg[src]

impl StructuralPartialEq for LoadAvg[src]

Auto Trait Implementations

impl RefUnwindSafe for LoadAvg

impl Send for LoadAvg

impl Sync for LoadAvg

impl Unpin for LoadAvg

impl UnwindSafe for LoadAvg

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.