I'm trying to run application builds inside docker containers and gather resource usage stats.
I can gather usage metrics for example memory usage details for a container with id foobar running docker on Ubuntu 14.04 host by inspecting:
/sys/fs/cgroups/memory/docker/foobar/memory.stat
but on Centos 7 host, '/sys/fs/cgroups/memory/docker' directory is missing.
How to find out about container specific memory or cpu usage on Centos 7 Host.
Thanks
Best Answer
Well, first you misspelled
cgroup
:)After poking around, I found what you were looking for: