Description

CgroupCPU returnes specified cgroup id CPU status. containerID is same as docker id if you use docker. If you use container via systemd.slice, you could use containerID = docker-<container id>.scope and base=/sys/fs/cgroup/cpuacct/system.slice/

CgroupCPU is referenced in 1 repository

github.com/shirou/gopsutil