hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/kvm/kvm_stat/kvm_stat.txt
....@@ -49,7 +49,7 @@
4949
5050 *r*:: reset stats
5151
52
-*s*:: set update interval
52
+*s*:: set delay between refreshs
5353
5454 *x*:: toggle reporting of stats for child trace events
5555 :: *Note*: The stats for the parents summarize the respective child trace
....@@ -64,37 +64,56 @@
6464 --batch::
6565 run in batch mode for one second
6666
67
--l::
68
---log::
69
- run in logging mode (like vmstat)
70
-
71
--t::
72
---tracepoints::
73
- retrieve statistics from tracepoints
67
+-c::
68
+--csv::
69
+ log in csv format. Requires option -l/--log or -L/--log-to-file.
70
+ When used with option -L/--log-to-file, the header is only ever
71
+ written to start of file to preserve the format.
7472
7573 -d::
7674 --debugfs::
7775 retrieve statistics from debugfs
7876
77
+-f<fields>::
78
+--fields=<fields>::
79
+ fields to display (regex), "-f help" for a list of available events
80
+
81
+-g<guest>::
82
+--guest=<guest_name>::
83
+ limit statistics to one virtual machine (guest name)
84
+
85
+-h::
86
+--help::
87
+ show help message
88
+
7989 -i::
8090 --debugfs-include-past::
8191 include all available data on past events for debugfs
92
+
93
+-l::
94
+--log::
95
+ run in logging mode (like vmstat)
96
+
97
+
98
+-L<file>::
99
+--log-to-file=<file>::
100
+ like -l/--log, but logging to a file. Appends to existing files.
82101
83102 -p<pid>::
84103 --pid=<pid>::
85104 limit statistics to one virtual machine (pid)
86105
87
--g<guest>::
88
---guest=<guest_name>::
89
- limit statistics to one virtual machine (guest name)
106
+-s::
107
+--set-delay::
108
+ set delay between refreshs (value range: 0.1-25.5 secs)
90109
91
--f<fields>::
92
---fields=<fields>::
93
- fields to display (regex), "-f help" for a list of available events
110
+-t::
111
+--tracepoints::
112
+ retrieve statistics from tracepoints
94113
95
--h::
96
---help::
97
- show help message
114
+*z*::
115
+--skip-zero-records::
116
+ omit records with all zeros in logging mode
98117
99118 SEE ALSO
100119 --------