[][src]Function coreutils_core::os::load::load_average

pub fn load_average() -> Result<[c_double; 3]>

Returns 3 load average from the system.

These 3 loads represent the averages over the last 1, 5 and 15 minutes, respectively.

Errors

If a internal call set a errno (I/O OS error), an error variant will be returned.