3.5.4. Viewing Disk I/O Statistics

In OpenVZ, you can view disk input and output (I/O) statistics for all processes on the host. To do this:

  1. Run the vztop utility.
  2. Press F2 or S to switch to the Setup menu.
  3. In the Setup column, choose Columns.
  4. In Available Columns, choose from the following parameters to add to the output (Active Columns):

    ParameterDescriptionColumn

    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.

  5. When you finish managing columns, press F10 to save the changes and view the output.