Skip to main content

read_proc_stat

Function read_proc_stat 

Source
pub fn read_proc_stat() -> Option<(CpuTicks, Vec<CpuTicks>)>
Expand description

Read /proc/stat: the ticks of all cores together, and of each. None when it cannot be read.