OpenVZ Forum


Home » General » Support » Does iostat work in a VPS?
Does iostat work in a VPS? [message #25625] Fri, 04 January 2008 08:04 Go to next message
XaoZoov is currently offline  XaoZoov
Messages: 4
Registered: November 2007
Junior Member
When I run iostat inside a VPS I just get CPU stats, is it possible to run iostat in a VPS?

[root@webmail /]# iostat -x 5
Linux 2.6.9-023stab044.11-smp (webmail.mydomain.com) 01/04/08

avg-cpu: %user %nice %sys %iowait %idle
6.04 0.00 0.94 0.02 93.00

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

avg-cpu: %user %nice %sys %iowait %idle
0.00 0.00 0.00 0.00 100.00

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

Re: Does iostat work in a VPS? [message #25749 is a reply to message #25625] Tue, 08 January 2008 15:32 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

1. I'm afraid that you cannot use iostat inside a VPS:
- It is not clear what we need to show because VPS doesn't bind to any device.
- There is some restrictions associated with the VPS access to devices.

2. Can you please tell us what information do you expect to observe inside VPS?
3. You can use 'vmstat' (inside VPS) instead of 'iostat'. May be it will be suitable for you?

Thank You!
Previous Topic: Advice needed on migration of Phys to VE
Next Topic: *SOLVED* Problem create VE when quota=yes
Goto Forum:
  


Current Time: Fri Dec 09 15:45:00 GMT 2022

Total time taken to generate the page: 0.00983 seconds