Struct linux_info::system::LoadAvg
source · [−]pub struct LoadAvg { /* private fields */ }Expand description
Read the load average from /proc/loadavg.
Implementations
Get the average of jobs in the queue or waiting for disk I/O.
The values are averaged over (1 min, 5 min, 15 min).
Returns two values (runnable threads, running threads).
Returns the PID of the most recent process.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoadAvg
impl UnwindSafe for LoadAvg
Blanket Implementations
Mutably borrows from an owned value. Read more