[−][src]Function mprober_lib::process::get_process_with_stat
pub fn get_process_with_stat(
pid: u32
) -> Result<(Process, ProcessStat), ScannerError>
Get information of a specific process found by ID by reading files in the /proc/PID folder.
extern crate mprober_lib; use mprober_lib::process; // let (process, _) = process::get_process_with_stat(1).unwrap(); // println!("{:#?}", process);