]>
Commit | Line | Data |
---|---|---|
fd41b5a9 PB |
1 | kvm_stat(1) |
2 | =========== | |
3 | ||
4 | NAME | |
5 | ---- | |
6 | kvm_stat - Report KVM kernel module event counters | |
7 | ||
8 | SYNOPSIS | |
9 | -------- | |
10 | [verse] | |
11 | 'kvm_stat' [OPTION]... | |
12 | ||
13 | DESCRIPTION | |
14 | ----------- | |
15 | kvm_stat prints counts of KVM kernel module trace events. These events signify | |
16 | state transitions such as guest mode entry and exit. | |
17 | ||
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 | |
20 | output. | |
1eaa2f90 SR |
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. | |
fd41b5a9 PB |
24 | |
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 | |
27 | meaning of events. | |
28 | ||
1eaa2f90 SR |
29 | INTERACTIVE 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 | ||
40 | Press any other key to refresh statistics immediately. | |
41 | ||
fd41b5a9 PB |
42 | OPTIONS |
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 | ||
73 | SEE ALSO | |
74 | -------- | |
75 | 'perf'(1), 'trace-cmd'(1) | |
76 | ||
77 | AUTHOR | |
78 | ------ | |
79 | Stefan Hajnoczi <stefanha@redhat.com> |