]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - tools/kvm/kvm_stat/kvm_stat.txt
tools/kvm_stat: remove regex filter on empty input
[thirdparty/kernel/linux.git] / tools / kvm / kvm_stat / kvm_stat.txt
CommitLineData
fd41b5a9
PB
1kvm_stat(1)
2===========
3
4NAME
5----
6kvm_stat - Report KVM kernel module event counters
7
8SYNOPSIS
9--------
10[verse]
11'kvm_stat' [OPTION]...
12
13DESCRIPTION
14-----------
15kvm_stat prints counts of KVM kernel module trace events. These events signify
16state transitions such as guest mode entry and exit.
17
18This tool is useful for observing guest behavior from the host perspective.
19Often conclusions about performance or buggy behavior can be drawn from the
20output.
1eaa2f90
SR
21While running in regular mode, use any of the keys listed in section
22'Interactive Commands' below.
23Use batch and logging modes for scripting purposes.
fd41b5a9
PB
24
25The set of KVM kernel module trace events may be specific to the kernel version
26or architecture. It is best to check the KVM kernel module source code for the
27meaning of events.
28
1eaa2f90
SR
29INTERACTIVE COMMANDS
30--------------------
31[horizontal]
32*f*:: filter by regular expression
33
34*p*:: filter by PID
35
36*q*:: quit
37
38*x*:: toggle reporting of stats for child trace events
39
40Press any other key to refresh statistics immediately.
41
fd41b5a9
PB
42OPTIONS
43-------
44-1::
45--once::
46--batch::
47 run in batch mode for one second
48
49-l::
50--log::
51 run in logging mode (like vmstat)
52
53-t::
54--tracepoints::
55 retrieve statistics from tracepoints
56
57-d::
58--debugfs::
59 retrieve statistics from debugfs
60
f0cf040f
JF
61-p<pid>::
62--pid=<pid>::
63 limit statistics to one virtual machine (pid)
64
fd41b5a9
PB
65-f<fields>::
66--fields=<fields>::
67 fields to display (regex)
68
69-h::
70--help::
71 show help message
72
73SEE ALSO
74--------
75'perf'(1), 'trace-cmd'(1)
76
77AUTHOR
78------
79Stefan Hajnoczi <stefanha@redhat.com>