Function containerd_shim::cgroup::collect_metrics
source · pub fn collect_metrics(pid: u32) -> Result<Metrics>
Expand description
Collect process cgroup stats, return only necessary parts of it
pub fn collect_metrics(pid: u32) -> Result<Metrics>
Collect process cgroup stats, return only necessary parts of it