Re: [vserver] [iotop]?

From: Corey Wright <undefined_at_pobox.com>
Date: Tue 23 Oct 2012 - 04:09:41 BST
Message-Id: <20121022220941.ba1a3d5a.undefined@pobox.com>

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_at_lihas.de - Web: http://lihas.de
> Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
> 
Received on Tue Oct 23 04:09:47 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 23 Oct 2012 - 04:09:47 BST by hypermail 2.1.8