Function base::sys::linux::move_to_cgroup
source · pub fn move_to_cgroup(
cgroup_path: PathBuf,
id_to_write: Pid,
cgroup_file: &str
) -> Result<()>
Expand description
Moves the requested PID/TID to a particular cgroup