Skip to main content

get_managed_processes

Function get_managed_processes 

Source
pub fn get_managed_processes(
    manager: &CgroupManager,
) -> Result<Vec<ProcessStatus>>
Expand description

Get status of all processes managed by rlm. Read-only: it never removes or changes a cgroup, so a GUI refresh loop can call it safely. A cgroup is listed while it is populated; pid is the first PID in its cgroup.procs (0 if none) and name that process’s comm, or “?”.