Previous page

Next page

Locate page in Contents

Print this page

Viewing Disk I/O Statistics

In Parallels Containers 4.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

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

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

CTID ST IOUSED% IOWAIT% IOSPEED IP

101 OK 0.00 0.00 2/100MB/s 10.10.11.101

2004838458 OK 0.00 0.00 0.0/---KB/s 10.10.11.201

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%

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

IOWAIT%

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

IOSPEED

The current speed of disk I/O operations in the virtual machine or Container and the I/O limit set for this virtual machine or Container, if any. The value can be displayed in bytes, kilobytes, megabytes, or gigabytes per second, depending on the units you used to set the I/O limit.

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 virtual machine with ID 2004838458. Note that the displayed ID is the kernel virtual machine ID (that is, the ID the kernel on the physical server uses to refer to this virtual machine) and is different from the unique identifier of the virtual machine. To view both identifiers of a virtual machine, you can use the pctl list -i command, for example:

# pctl list -i MyVM

ID: {5c1fb1bb-4364-4b42-86b2-c584bdd2223b}

EnvID: 2075205468

Name: MyVM

...

This output shows that the MyVM virtual machine has the unique identifier of 5c1fb1bb-4364-4b42-86b2-c584bdd2223b and the kernel virtual machine ID of 2075205468.

Notes: For more information on pstat and its options, see the Parallels Server Bare Metal 5.0 Reference Guide .