fn get_container_memory_used(
cgroup_version: CgroupVersion,
) -> Result<usize, Error>
Expand description
Returns the memory used in a container if running in a container else returns the system memory used.
fn get_container_memory_used(
cgroup_version: CgroupVersion,
) -> Result<usize, Error>
Returns the memory used in a container if running in a container else returns the system memory used.