pub fn pid_rusage<T: RusageFlavor>(pid: pid_t) -> Result<T>
Expand description
Return resource usage information for the given pid, which can be a live process or a zombie.
pub fn pid_rusage<T: RusageFlavor>(pid: pid_t) -> Result<T>
Return resource usage information for the given pid, which can be a live process or a zombie.