[lxc-users] Calculate cpu usage using LXCFS

Rajasekar Darapuram raj at robinsystems.com
Tue Mar 24 19:27:20 UTC 2015


Hi
I installed the latest LXC 1.1.1 and LXCFs and created 2 containers. How
can I calculate the cpu usage of each container? I limited 1 container to
only 2 cpus (0 and 1) and 1 GB of memory, while the other container to use
all 8 cpu's and  16GB of memory
Top command (upper section which displays all CPU data, memory available)
on both shows almost similar data which is the same as host machine.

How can I accurately determine them?

Please let me know
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150324/a355feab/attachment.html>


More information about the lxc-users mailing list