Re: [vserver] cpu accounting in a guest with top

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 13 Apr 2011 - 21:34:36 BST
Message-ID: <20110413203436.GD11970@MAIL.13thfloor.at>

On Wed, Apr 13, 2011 at 09:37:01PM +0200, jean-marc pouchoulon wrote:

> > yeah, you missed to give detailed information about
> > kernel, patch and util-vserver version as well as
> > your guest config ...

> vserver-info
> Versions:
> Kernel: 2.6.22.19-vs2.3.0.34.1
> VS-API: 0x00020302
> VCI: 0x0000000013010fb1
> util-vserver: 0.30.216-pre2914; Sep 13 2010, 15:32:56
>
> Features:
> CC: gcc, gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
> CXX: g++, g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
> CPPFLAGS: ''
> CFLAGS: '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -std=c99 -Wall -pedantic -W -funit-at-a-time'
> CXXFLAGS: '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
> build/host: x86_64-redhat-linux-gnu/x86_64-redhat-linux-gnu
> Use dietlibc: yes
> Build C++ programs: yes
> Build C99 programs: yes
> Available APIs: v13,net,v21,v22,v23,netv2
> ext2fs Source: e2fsprogs
> syscall(2) invocation: alternative
> vserver(2) syscall#: 236/glibc
> crypto api: beecrypt
> python bindings: yes
> use library versioning: yes
>
> Paths:
> prefix: /usr
> sysconf-Directory: /etc
> cfg-Directory: /etc/vservers
> initrd-Directory: /etc/rc.d/init.d
> pkgstate-Directory: /var/run/vservers
> vserver-Rootdir: /vservers

> cat /etc/redhat-release
> CentOS release 5.5 (Final)

> flags

> nproc
> hideinfo
> virt_mem
> virt_uptime
> virt_cpu
> virt_load

> rpm -qa|grep util-vserver

> util-vserver-build-0.30.216-1.pre2914.el5
> util-vserver-core-0.30.216-1.pre2914.el5
> util-vserver-sysv-0.30.216-1.pre2914.el5
> util-vserver-lib-0.30.216-1.pre2914.el5
> util-vserver-0.30.216-1.pre2914.el5

and the guest config regarding memory/cpu limits or what
is the 'original' problem with top not showing virtualized
information?

best,
Herbert

> thanks
> jean-marc,
Received on Wed Apr 13 21:35:06 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 13 Apr 2011 - 21:35:06 BST by hypermail 2.1.8