Skip to main content

pids

Function pids 

Source
pub fn pids(name: &str) -> Result<Vec<Pid>>
Expand description

Returns the PIDs of the processes of the program name.

§Errors

Returns an error if /proc can’t be read.