Subject: Re: [vserver] [iotop]?
From: Corey Wright <undefined@pobox.com>
Date: Mon, 22 Oct 2012 22:09:41 -0500

 Mon, 22 Oct 2012 22:09:41 -0500
On Mon, 22 Oct 2012 17:31:53 +0200
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

uh, doesn't that unhide /proc/vmstat for all contexts, not just context 1 (as
"setattr --watch" does; see http://linux-vserver.org/Secure ProcFS Entries)?

corey
--
undefined@pobox.com

> The name of the init script and the source of vprocunhide-files might
> vary with your distribution.
> 
> Regards,
> 	 are 
> -- 
> LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
> Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
> Mail: lihas@lihas.de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
>