Previous page

Next page

Locate page in Contents

Print this page

Viewing Disk I/O Statistics

In Virtuozzo 6, you can view disk input and output (I/O) statistics for virtual machines and Containers. To display the I/O statistics for all running virtual machines and Containers on the physical server, you can run the pstat utility with the -a option. For example:

# pstat -a

7:18pm, up 1 day, 1:29, 2 users, load average: 0.00, 0.01, 0.00

CTNum 1, procs 127: R 2, S 125, D 0, Z 0, T 0, X 0

CPU [ OK ]: CTs 0%, CT0 1%, user 0%, sys 2%, idle 98%, lat(ms) 12/0

Mem [ OK ]: total 1560MB, free 627MB/402MB (low/high), lat(ms) 0/0

ZONE0 (DMA): size 16MB, act 0MB, inact 0MB, free 11MB (0/0/0)

ZONE1 (Normal): size 880MB, act 76MB, inact 104MB, free 616MB (3/4/5)

ZONE2 (HighMem): size 684MB, act 116MB, inact 153MB, free 402MB (0/1/1)

Mem lat (ms): A0 0, K0 0, U0 0, K1 0, U1 0

Slab pages: 65MB/65MB (ino 43MB, de 9MB, bh 2MB, pb 0MB)

Swap [ OK ]: tot 2502MB, free 2502MB, in 0.000MB/s, out 0.000MB/s

Net [ OK ]: tot: in 0.005MB/s 45pkt/s, out 0.000MB/s 1pkt/s

lo: in 0.000MB/s 0pkt/s, out 0.000MB/s 0pkt/s

eth0: in 0.005MB/s 45pkt/s, out 0.000MB/s 1pkt/s

br0: in 0.000MB/s 0pkt/s, out 0.000MB/s 0pkt/s

br1: in 0.000MB/s 0pkt/s, out 0.000MB/s 0pkt/s

Disks [ OK ]: in 0.000MB/s, out 0.000MB/s

ST IOUSED IOWAIT IO IOPS NAME

OK 0.00 0.00 0.0/---KB/s 0.0/--/s 101

OK 0.00 0.00 0.0/---KB/s 0.0/--/s MyVM

The information related to the virtual machines and Containers disk I/O statistics is at the end of the command output. The table below explains the displayed I/O parameters:

Parameter

Description

IOUSED%

Percentage of time the disks are used by the virtual machine or Container.

IOWAIT%

Percentage of time when at least one I/O transaction in the virtual machine or Container is waiting for being served.

IO

I/O rate and limit, in bytes, kilobytes, megabytes, or gigabytes per second.

IOPS

I/O operations rate and limit, in operations per second.

The pstat -a command outputs the disk I/O statistics for all virtual machines and Containers that are currently running on the physical server. In the example output above, this statistics is shown for Container 101 and for the MyVM virtual machine.

Note: For more information on pstat and its options, see the Virtuozzo 6 Command Line Reference Guide.