Function swap::processes::parse_process_state
source · fn parse_process_state(text: &str) -> Option<char>
Expand description
Extract process state from /proc/pid/stat.
/proc/<pid>/stat
file contains metadata for the process including the process state.
See proc(5) for the format.