pub fn collect_metrics(pid: u32) -> Result<Metrics>
Expand description

Collect process cgroup stats, return only necessary parts of it