domstats

Retrieve runtime statistics and performance metrics for one or more virtual servers.

Syntax


1  domsats <VS>
1 --list-active
1 --list-inactive
1 --list-running
1 --cpu
1 --vcpu
1 --balloon
1 --block
1 --interface
1 --iothread
1 --perf
1 --state
1  --raw
1  --enforce
1  --backing
Where:
<VS>
Is the name, ID, or UUID of the virtual server.

Selected options

--backing
Includes information for backing storage layers in block device output.
--balloon
Displays information about memory / ballooning.
--block
Displays information about disk I/O.
--cpu
Displays information about CPU usage.
--enforce
Causes the command to fail if any requested information group is not supported.
--interface
Displays information about network.
--iothread
Displays information about I/O threads.
--list-active
Displays only active virtual servers.
--list-inactive
Displays only inactive virtual servers.
--list-running
Displays currently running virtual servers.
--perf
Displays information about performance monitoring counters if supported by the whole stack.
--raw
Displays statistics in raw format without unit conversion or formatting.
--state
Displays information about the domain state.
--vcpu
Display the information about each individual vCPU separately.

Usage

Configuring I/O thread polling parameters

Example

This example shows the domstats command:
     
# virsh domstats vserv1 --iothread
Domain: vserv1
iothread.count=1
iothread.1.poll-max-ns=32768
iothread.1.poll-grow=2
iothread.1.poll-shrink=2
iothread.1.poll-weight=3