Subject: Re: [vserver] Per Guest Statistics
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Wed, 20 Nov 2013 21:54:21 +0100

Hi,

Phil Daws wrote:
> Memory restrictions are working fine but I realised that I am using the
> wrong method for disk.  According to
> http://linux-vserver.org/Disk_Limits_and_Quota I should set the 'tab'
> option on the mount, and then flow the xid/vsname using chxid.  I have
> done all that, plus create the dlimit directory, but when I restart the
> guest and check the space I see:
>
> vdu --xid 10002 --space guest1
> guest1 0

What does lsxid guest1 show? What does cat /proc/mounts show?

Daniel

> Any thoughts on what I have done wrong ? I tried using the context instead
> of the guest name for the chxid command but that made no difference.  Am
> using:
>
> 2.6.32-358.18.1.el6.vs2.3.0.36.29.6.34.x86_64
>
> rpm -qa | grep util-vserver
> util-vserver-core-0.30.216-1.pre3034.el6.x86_64
> util-vserver-sysv-0.30.216-1.pre3034.el6.x86_64
> util-vserver-build-0.30.216-1.pre3034.el6.x86_64
> util-vserver-lib-0.30.216-1.pre3034.el6.x86_64
> util-vserver-0.30.216-1.pre3034.el6.x86_64
>
> Thanks.
> ----- Original Message -----
> From: "Phil Daws" <uxbod@splatnix.net>
> To: vserver@list.linux-vserver.org
> Sent: Sunday, 17 November, 2013 2:26:23 PM
> Subject: [vserver] Per Guest Statistics
>
> Hello,
>
> is it possible for each guest to report display its own CPU, memory
> utilization eg. via top ? I have disk working well using chxid but not
> sure about the others.
>
> All help always appreciated,
>
> Thanks.
>