pub fn parse_proc_stat(stat: &[u8], tick_ns: u64) -> Option<Proc>Expand description
Parse one /proc/<pid>/stat into a Proc. Bytes, not a string: the
command name is up to 15 arbitrary bytes and may hold ), spaces, a
newline or non-UTF-8, so the fields are found after the LAST ).
After it: state [0], ppid [1], utime/stime/cutime/cstime [11..=14],
starttime [19]. cutime/cstime are printed signed; a negative one is 0.