Function mz_ore::cgroup::read_v1_memory_limit
source · [−]fn read_v1_memory_limit(
cgroups: &[CgroupEntry],
mounts: &[Mountinfo]
) -> Option<MemoryLimit>
Expand description
Finds the cgroup v1 and mountpoint combination containing the memory controller, and reads the memory limits within.