In OpenVZ, you can view disk input and output (I/O) statistics for all processes on the host. To do this:
-
Run the
vztoputility. - 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 RBYTESNumber of bytes read for the process.
IO_RBYTES
WBYTESNumber of bytes written for the process.
IO_WBYTES
IO_READ_RATEProcess read rate, in bytes per second.
DISK READ
IO_WRITE_RATEProcess write rate, in bytes per second.
DISK WRITE
IO_RATEProcess total I/O rate, in bytes per second.
DISK R/W
IO_PRIORITYProcess 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.