Skip to main content

node_usage

Function node_usage 

Source
pub fn node_usage(
    proc_root: &Path,
    cgroup_root: &Path,
    page: u64,
    ticks: u64,
) -> Option<NodeUsage>
Expand description

This process’s memory and CPU from proc_root (self/stat, self/statm), in pages of page bytes and ticks a second, and its container’s from cgroup_root (decision 463); None without /proc.