Skip to main content

parse_stats

Function parse_stats 

Source
pub fn parse_stats(
    stat: &str,
    statm: &str,
    boot: &str,
    open_fds: u64,
    page: u64,
    ticks: u64,
) -> Option<ProcessStats>
Expand description

The stats in /proc/self/stat, /proc/self/statm and /proc/stat (for the boot time).