Skip to main content

kill_agent_cgroups

Function kill_agent_cgroups 

Source
pub fn kill_agent_cgroups(scope: &Path) -> usize
Expand description

Write 1 to cgroup.kill in every agent-* cgroup in scope; srv’s own cgroup and anything else in the scope are left alone. Returns how many were killed. Public for srv’s cgroup tests.