pub fn listpids(proc_types: ProcType) -> Result<Vec<u32>, String>๐Deprecated since 0.13.0:
Please use libproc::processes::pids_by_type() instead.
Expand description
Returns the PIDs of the active processes that match the proc_types parameter
ยงNote
This function is deprecated in favor of
libproc::processes::pids_by_type(),
which lets you specify what PGRP / TTY / UID / RUID / PPID you want to filter by