Re: [vserver] monitoring all contexts? (super context!)

From: Corey Wright <undefined_at_pobox.com>
Date: Tue 09 Mar 2010 - 15:51:49 GMT
Message-Id: <20100309095149.94c42890.undefined@pobox.com>

On Tue, 09 Mar 2010 14:01:21 +0000
Ed W <lists@wildgooses.com> wrote:

> Hi, I would like to run iotop to examine some performance counters, but
> simply running it on the host obviously doesn't show the guest processes.
>
> So instead I try using context 1
>
> chcontext --ctx 1 iotop
>
> However, this gives me an error about missing /proc/vmstat, and in fact
> if I change the above command to an "ls" then it's absolutely correct
> that context 1 cannot see the full /proc tree
>
> I'm running 2.6.32.8-grsec2.1.14-vs2.3.0.36.29.1 - how can I run iotop
> (or any arbitrary command) in a context which can see all guest
> processes AND have full access to the /proc filesystem?

i'm not running with the grsec patch, but i believe the attached
script/wrapper deals with your /proc problem (if i remember correctly).

corey

-- 
undefined@pobox.com

Received on Tue Mar 9 15:52:40 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 09 Mar 2010 - 15:52:41 GMT by hypermail 2.1.8