summaryrefslogtreecommitdiff
path: root/tools/kvm/kvm_stat/kvm_stat.txt
diff options
context:
space:
mode:
authorStefan Raspl <raspl@de.ibm.com>2020-03-06 12:42:46 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-23 15:44:20 -0400
commit3cbb394d9fb68dcd20415dce2c42b695475e9684 (patch)
tree6fe6a045409b7c717323db61b915f5e26cabfd22 /tools/kvm/kvm_stat/kvm_stat.txt
parent0e6618fba8c98223e17d57d68b7b834e1eb89612 (diff)
tools/kvm_stat: add command line switch '-s' to set update interval
This now controls both, the refresh rate of the interactive mode as well as the logging mode. Which, as a consequence, means that the default of logging mode is now 3s, too (use command line switch '-s' to adjust to your liking). Signed-off-by: Stefan Raspl <raspl@linux.ibm.com> Message-Id: <20200306114250.57585-4-raspl@linux.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/kvm/kvm_stat/kvm_stat.txt')
-rw-r--r--tools/kvm/kvm_stat/kvm_stat.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/kvm/kvm_stat/kvm_stat.txt b/tools/kvm/kvm_stat/kvm_stat.txt
index 8e0658e79eb7..20928057cc9e 100644
--- a/tools/kvm/kvm_stat/kvm_stat.txt
+++ b/tools/kvm/kvm_stat/kvm_stat.txt
@@ -92,6 +92,10 @@ OPTIONS
--pid=<pid>::
limit statistics to one virtual machine (pid)
+-s::
+--set-delay::
+ set delay between refreshs (value range: 0.1-25.5 secs)
+
-t::
--tracepoints::
retrieve statistics from tracepoints