Docker Community Forums

Share and learn in the Docker community.

CPU metrics for containers on Raspberry Pi running Arch


#1

Hi

I am trying to access CPU metrics for individual running containers on a Raspberry Pi that runs Arch Linux ARM. I know that the path to the file that stores the metrics should be something like this:

/home/fs/cgroup/cpuacct/docker/<CONTAINER_ID>/cpuacct.stat

but there is no such file. I tried to do the same thing on a PC with Ubuntu 14.04 and the file was there. On the Pi I scanned the system using find and I could not see any similar directories.

Weirdly enough I have accessed the stats before on a Pi and it worked fine. I am not sure however if the path I used was the same as specified here.

It looks to me that in Arch the path must be different but I cannot figure out where to look. Can somebody help me please?

Cheers

Piotr