[Vserver] vtop?

2005-10-06 Thread Gaz Wilson

I know we have the vps process which can essentially show a ps output
of all things running within vservers from the host, but has anyone ever
looked into patching the program top, or writing a new version which will
act like top on the host, showing the UIDs and run states of all processes
in the vservers continuously?

I ask, because we use vservers in a fairly hostile environment, and sometimes
we get rogue processes which are hogging all of the CPU (for example) -
top shows the machine load is up but doesn't show which vserver the rogue
process is in - instead you need to use vps, or log into each vserver
and run top there to find it.

Having one version on top on the host to monitor all processes in the
vservers would be great!

Are there any plans? (Or indeed has someone already done it and I don't
know?)

Thanks

Gary

-- 
   /   Gary Wilson, aka dragon/dragonlord/dragonv480\
 .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Chuck
On Thursday 06 October 2005 06:48 am, Gaz Wilson wrote:

It is included in the 

util-vserver-0.30.208-r3

and I believe in the r2 version as well.


 
 I know we have the vps process which can essentially show a ps output
 of all things running within vservers from the host, but has anyone ever
 looked into patching the program top, or writing a new version which will
 act like top on the host, showing the UIDs and run states of all processes
 in the vservers continuously?
 
 I ask, because we use vservers in a fairly hostile environment, and 
sometimes
 we get rogue processes which are hogging all of the CPU (for example) -
 top shows the machine load is up but doesn't show which vserver the rogue
 process is in - instead you need to use vps, or log into each vserver
 and run top there to find it.
 
 Having one version on top on the host to monitor all processes in the
 vservers would be great!
 
 Are there any plans? (Or indeed has someone already done it and I don't
 know?)
 
 Thanks
 
 Gary
 
 -- 
/   Gary Wilson, aka dragon/dragonlord/dragonv480\
  .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
_   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   
  `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
\w: http://www.northernscum.org.uk   /
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Tom Laermans
On Thu, 2005-10-06 at 11:48 +0100, Gaz Wilson wrote:
 Having one version on top on the host to monitor all processes in the
 vservers would be great!
 
 Are there any plans? (Or indeed has someone already done it and I don't
 know?)

tequila:~# dpkg -S /usr/sbin/vtop
util-vserver: /usr/sbin/vtop
tequila:~# dpkg -l util-vserver
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version
Description
+++---
ii  util-vserver 0.30.204-5sarge2
tools for Virtual private servers and context switching
tequila:~#

As far as I know vtop has been part of the tools for quite a long
time :)

Tom

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Grzegorz Nosek
 As far as I know vtop has been part of the tools for quite a long
 time :)

 Tom


Hello all

That's right but vtop is (at least in my 0.30.208.something) just a
shell wrapper around top (something to the effect of chcontext --xid=1
/usr/bin/top) so the display does not include vserver name/context. I
might be patching top to implement vserver support soon, though :)

Grzegorz Nosek
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Gaz Wilson
On Thu, 6 Oct 2005, Chuck wrote:

 On Thursday 06 October 2005 06:48 am, Gaz Wilson wrote:

 It is included in the

 util-vserver-0.30.208-r3

 and I believe in the r2 version as well.


H-ha - you're ruight - quick upgrade from the rather old version on a test
box and yes, it's there.  Thanks (shouldve looked first really) :(

Cheers!

GW

-- 
   /   Gary Wilson, aka dragon/dragonlord/dragonv480\
 .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vtop?

2005-10-06 Thread Gaz Wilson
On Thu, 6 Oct 2005, Grzegorz Nosek wrote:

 That's right but vtop is (at least in my 0.30.208.something) just a
 shell wrapper around top (something to the effect of chcontext --xid=1
 /usr/bin/top) so the display does not include vserver name/context. I
 might be patching top to implement vserver support soon, though :)


Now that sounds interesting :)  LEt us know when there's more news please
:)

-- 
   /   Gary Wilson, aka dragon/dragonlord/dragonv480\
 .'(_.--.  e: [EMAIL PROTECTED] MSN: dragonv480   .--._)`.
   _   |  Skype:dragonv480 ICQ:342070475 AIM:dragonv480   |   _   
 `.( `--' w: http://volvo480.northernscum.org.uk   `--' ).'
   \w: http://www.northernscum.org.uk   /
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver