Skip to main content

pids_max

Function pids_max 

Source
fn pids_max(path: PathBuf) -> Option<usize>
Expand description

Reads one cgroup pids.max file.

An unreadable file and the literal max both yield None, so a cgroup setting no limit of its own contributes nothing to the minimum.