[lxc-users] We need a lxc-top utility

Steven Jan Springl steven at springl.co.uk
Wed May 21 11:50:04 UTC 2014


On Wednesday 21 May 2014 01:07:39 CDR wrote:
> Dear Friends
> I have 20+ containers with the same programs running. All of them are
> cpu-intensive. But one of them is eating way more CPU than the
> average. With "top" I have no idea which container "owns" that
> program. Perhaps we need a new "lxc-top" that would identify the
> process and the container, and maybe allow to sort by container-cpu or
> memory, or show cpu-container, memory-container, etc.
> 
> Philip
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

Philip

I use htop to display the cgroup (container name) against each program.

It isn't displayed by default, you need to go into to "f2 setup" to add it.

Steven.


More information about the lxc-users mailing list