[][src]Function heim_cpu::os::unix::loadavg

pub async fn loadavg() -> Result<(Ratio, Ratio, Ratio)>
This is supported on Unix only.

Returns the average system load over the last 1, 5 and 15 minutes.

The load represents the processes which are in a runnable state, either using the CPU or waiting to use the CPU (e.g. waiting for disk I/O).