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

2014-05-22 Thread CDR
sudo apt-get install lua-lxc Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lua-lxc Is there a way to add lxc-top to the regular LXC repository? Yours Federico On Wed, May 21, 2014 at 11:16 AM, Fajar A. Nugraha l...@fajar.net

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

2014-05-22 Thread Serge Hallyn
That would require packaging and main inclusion of the lua-filesystems package (at least, not sure if there are others missing) Quoting CDR (vene...@gmail.com): sudo apt-get install lua-lxc Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to

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

2014-05-21 Thread Stéphane Graber
On Tue, May 20, 2014 at 08:07:39PM -0400, 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

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

2014-05-21 Thread Steven Jan Springl
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

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

2014-05-21 Thread CDR
I did my lxc build with RPM make rpm, and it did not built it. What are the steps? I am using Ubuntu Server Philip On Wed, May 21, 2014 at 7:50 AM, Steven Jan Springl ste...@springl.co.uk wrote: On Wednesday 21 May 2014 01:07:39 CDR wrote: Dear Friends I have 20+ containers with the same

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

2014-05-21 Thread Serge Hallyn
Quoting CDR (vene...@gmail.com): Wrong, that RPM was in Fedora, in Ubuntu I connected to a repository. But lxc-top is not there. How do I get that utility? sudo apt-get install lua-lxc Yeah that really should be more discoverable... ___ lxc-users

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

2014-05-20 Thread CDR
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

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

2014-05-20 Thread István Király
Hello CDR, .. If your containers are accessible over ssh, you can iterate through the containers and run a top or top-like command in each of them. You might need unique users though. for C in $(lxc-ls) do ssh $C top -n 1 sleep 1 done On the other hand, yes, it would be practical to see

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

2014-05-20 Thread Fajar A. Nugraha
On Wed, May 21, 2014 at 7:07 AM, CDR vene...@gmail.com 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