Re: [vserver] [iotop]?

From: Sergiusz Pawlowicz <sergiusz_at_pawlowicz.name>
Date: Fri 26 Oct 2012 - 18:12:00 BST
Message-ID: <CAPRDrAGzK3rJ+U3ci8CXHBPCUarG-JdaZd_kH2VJvz4WExG52A@mail.gmail.com>

On Wed, Oct 24, 2012 at 2:42 PM, Corey Wright <undefined@pobox.com> wrote:
> On Mon, 22 Oct 2012 16:47:09 +0100
> Sergiusz Pawlowicz <sergiusz@pawlowicz.name> wrote:
>
>> On Mon, Oct 22, 2012 at 4:31 PM, Adrian Reyer <are@lihas.de> wrote:
>> > On Mon, Oct 22, 2012 at 04:00:39PM +0100, Sergiusz Pawlowicz wrote:
>> >> Any ideas how to make iotop working? It was working well before 3.x came.
>> >
>> > mkdir /etc/vservers/.defaults/apps/vprocunhide
>> > cp /usr/lib/util-vserver/defaults/vprocunhide-files /etc/vservers/.defaults/apps/vprocunhide/files
>> > echo /proc/vmstat >> /etc/vservers/.defaults/apps/vprocunhide/files
>> > /etc/init.d/vprocunhide start
>> >
>> > The name of the init script and the source of vprocunhide-files might
>> > vary with your distribution.
>>
>> It works, Adrian, thanks! I have added it into the FAQ:
>>
>> http://linux-vserver.org/Frequently_Asked_Questions#I_want_iotop_to_display_all_guest_processes_on_host_to_give_me_a_nice_overview_of_I.2FO_usage.
>
> somebody please remove or correct the entry (to remove the insecure
> vprocunhide advice).
>
> i tried, but i really don't want to create an account and the captcha was
> impossible to please (ie "what is the name of this project?" linux-vserver,
> Linux-Vserver, Linux-VServer... all wrong according to the all-knowing wiki).
>
> {{Question
> |Question=I want iotop on the host to display all guest processes to give me a nice overview of I/O usage.
> ||Details=You must unhide /proc/vmstat for context 1. Recommendation: put the following in a script called "viotop" and modelled after "vtop".
>
> <PRE>
> # setattr --watch /proc/vmstat
> # vcontext --migrate --xid 1 -- iotop
> </PRE>
> |Signature=}}

Done. linux-vserer as textcha works perfectly :-) Thanks!

S.
Received on Fri Oct 26 18:12:55 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 26 Oct 2012 - 18:12:55 BST by hypermail 2.1.8