darwin_libproc

Function pid_rusage

Source
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.