Re: [vserver] Per Guest Statistics

From: Ghislain <gadnet_at_aqueos.com>
Date: Wed 20 Nov 2013 - 09:26:44 GMT
Message-ID: <528C8054.2060708@aqueos.com>

on my side iotop is also not working in guest:

works fine in the host but:

(aqadmin)> sudo chcontext --silent --ctx 1 iotop
Could not run iotop as some of the requirements are not met:
- Linux >= 2.6.20 with
   - VM event counters (CONFIG_VM_EVENT_COUNTERS)

strace show this:

open("/proc/vmstat", O_RDONLY) = -1 ENOENT (No such file or
directory)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f89aee77000
write(1, "Could not run iotop as some of t"..., 61Could not run iotop as
some of the requirements are not met:
) = 61
write(1, "- Linux >= 2.6.20 with\n", 23- Linux >= 2.6.20 with
) = 23
write(1, " - VM event counters (CONFIG_VM"..., 49 - VM event counters
(CONFIG_VM_EVENT_COUNTERS)
) = 49
close(4) = 0
close(3) = 0

so it seems "/proc/vmstat" is lacking in guest :)

hope this helps.

regards,
Ghislain.
Received on Wed Nov 20 09:26:57 2013

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 20 Nov 2013 - 09:26:57 GMT by hypermail 2.1.8