In OpenVZ, you can view disk input and output (I/O) statistics for all processes on the host. To do this:
-
Run the
vztop
utility. - Press F2 or S to switch to the Setup menu.
- In the Setup column, choose Columns.
-
In Available Columns, choose from the following parameters to add to the output (Active Columns):
Parameter Description Column RBYTES
Number of bytes read for the process.
IO_RBYTES
WBYTES
Number of bytes written for the process.
IO_WBYTES
IO_READ_RATE
Process read rate, in bytes per second.
DISK READ
IO_WRITE_RATE
Process write rate, in bytes per second.
DISK WRITE
IO_RATE
Process total I/O rate, in bytes per second.
DISK R/W
IO_PRIORITY
Process I/O priority.
IO
To add a parameter, select it and press F5 or Enter. To remove a parameter from Active Columns, select it and press F9.
- When you finish managing columns, press F10 to save the changes and view the output.