domstats
Retrieve runtime statistics and performance metrics for one or more virtual servers.
Syntax
- <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 parametersExample
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