iostat Cannot find disk data

muzzol

Active Member
Dec 2, 2009
43
0
26
hi,

I'm having problems with iostat in new proxmox with a Ubuntu 12.04 LTS template.

Code:
root@prova:~# iostat 
Cannot find disk data

in my old 1.9 with a 10.04 I have no problems executing it even if I get not real output:

Code:
# iostat
Linux 2.6.32-11-pve (electro)     10/18/2012     _x86_64_    (3 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.21    0.00    0.07    0.03    0.00   99.69

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn


Ubuntu 12.04 is using versions 10.0.3 and I've tried with an older one and it works. So it seems that new version of iostat is calling devices in a different way.

Is there any special privilege that I need to set for iostat to work?
 
hi,

I'm having problems with iostat in new proxmox with a Ubuntu 12.04 LTS template.

Code:
root@prova:~# iostat 
Cannot find disk data

in my old 1.9 with a 10.04 I have no problems executing it even if I get not real output:

Code:
# iostat
Linux 2.6.32-11-pve (electro)     10/18/2012     _x86_64_    (3 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.21    0.00    0.07    0.03    0.00   99.69

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn


Ubuntu 12.04 is using versions 10.0.3 and I've tried with an older one and it works. So it seems that new version of iostat is calling devices in a different way.

Is there any special privilege that I need to set for iostat to work?
Hi,
it would me suprise if iostat can work inside an container!
Also for security you shouldn't be able to see how much traffic is on the (real) device - you should nothing see which belongs outside of your container.
And OpenVZ don't see an real device...

Udo