From 0c794dcefbbc6b128f74b4c46c3ef49321d88735 Mon Sep 17 00:00:00 2001 From: Stefan Raspl <raspl@de.ibm.com> Date: Fri, 6 Mar 2020 12:42:47 +0100 Subject: tools/kvm_stat: add command line switch '-c' to log in csv format Add an alternative format that can be more easily used for further processing later on. Note that we add a timestamp in the first column for both, the regular and the new csv format. Signed-off-by: Stefan Raspl <raspl@linux.ibm.com> Message-Id: <20200306114250.57585-5-raspl@linux.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- tools/kvm/kvm_stat/kvm_stat.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/kvm/kvm_stat/kvm_stat.txt') diff --git a/tools/kvm/kvm_stat/kvm_stat.txt b/tools/kvm/kvm_stat/kvm_stat.txt index 20928057cc9e..a97ded2aedad 100644 --- a/tools/kvm/kvm_stat/kvm_stat.txt +++ b/tools/kvm/kvm_stat/kvm_stat.txt @@ -64,6 +64,10 @@ OPTIONS --batch:: run in batch mode for one second +-c:: +--csv=<file>:: + log in csv format - requires option -l/--log + -d:: --debugfs:: retrieve statistics from debugfs -- cgit