6 kvm_stat - Report KVM kernel module event counters
11 'kvm_stat' [OPTION]...
15 kvm_stat prints counts of KVM kernel module trace events. These events signify
16 state transitions such as guest mode entry and exit.
18 This tool is useful for observing guest behavior from the host perspective.
19 Often conclusions about performance or buggy behavior can be drawn from the
21 While running in regular mode, use any of the keys listed in section
22 'Interactive Commands' below.
23 Use batch and logging modes for scripting purposes.
25 The set of KVM kernel module trace events may be specific to the kernel version
26 or architecture. It is best to check the KVM kernel module source code for the
32 *b*:: toggle events by guests (debugfs only, honors filters)
36 *f*:: filter by regular expression
38 *g*:: filter by guest name
40 *h*:: display interactive commands reference
42 *o*:: toggle sorting order (Total vs CurAvg/s)
50 *s*:: set update interval
52 *x*:: toggle reporting of stats for child trace events
54 Press any other key to refresh statistics immediately.
61 run in batch mode for one second
65 run in logging mode (like vmstat)
69 retrieve statistics from tracepoints
73 retrieve statistics from debugfs
76 --debugfs-include-past::
77 include all available data on past events for debugfs
81 limit statistics to one virtual machine (pid)
84 --guest=<guest_name>::
85 limit statistics to one virtual machine (guest name)
89 fields to display (regex)
97 'perf'(1), 'trace-cmd'(1)
101 Stefan Hajnoczi <stefanha@redhat.com>