2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright (c) 2014, Joyent, Inc.
19 .Nd report KVM statistics
28 reports the activity of running KVM virtual machines and their exit activity,
29 injected interrupts, emulations, and more, on a per virtual CPU basis.
32 should be used when trying to get a rough sense of guest activity from the
33 hypervisor's perspective, and allows one to understand from a low-level
34 perspective, what kind of activity is going on inside of the virtual machine.
37 is useful for diagnosing reports of pathological or faulty behavior inside of
39 While there is no expected range of values for the fields displayed as that
40 varies with the use of virtual machines, if all of the virtual CPUs for a given
41 virtual machine are consistently zero, then that may indicate that a problem has
42 occurred, for example, a panic inside of the guest or a bug in the hypervisor.
44 If no operands are specified, then
46 will display statistics every second until the program is terminated.
51 will report data with the following fields:
54 Identifier of the process controlling the virtual CPU.
56 Virtual CPU identifier relative to its virtual machine.
58 Count of all virtual machine exits for the virtual CPU over
61 Count of virtual machine exits due to the guest executing the
63 instruction for the virtual CPU over
66 Count of virtual machine exits due to a pending external interrupt arriving
67 on the physical CPU that the virtual CPU was actively running on over
70 Count of virtual machine exits due to an open interrupt window on the
74 Count of virtual machine exits due to the execution of an I/O instruction,
77 on the virtual CPU over
80 Count of virtual machine exits due to performing memory mapped I/O on the
84 Count of interrupts injected into the virtual CPU over
87 Count of instructions the hypervisor had to emulate on behalf of the guest
91 Count of extended page table violations serviced on the virtual CPU over
95 The following operands are supported:
99 Specifies the number of times that the statistics are repeated.
102 will continue until it is terminated.
106 Specifies the number of seconds between reports of statistics.
107 If not specified, reports are generated every second.
113 while the output format is
114 .Sy Not an interface .