Next attempt to come up with support for logfiles that can be combined with a solution for rotating logs. Adding another patch to skip records with all zeros to preserve space. Changes in v2: - Addressed feedback from patch review - Beefed up man page descriptions of --csv and --log-to-file (fixing a glitch in the former) - Use a metavar for -L in the --help output Stefan Raspl (3): tools/kvm_stat: add command line switch '-z' to skip zero records tools/kvm_stat: Add command line switch '-L' to log to file tools/kvm_stat: add sample systemd unit file tools/kvm/kvm_stat/kvm_stat | 84 ++++++++++++++++++++++++----- tools/kvm/kvm_stat/kvm_stat.service | 16 ++++++ tools/kvm/kvm_stat/kvm_stat.txt | 15 +++++- 3 files changed, 101 insertions(+), 14 deletions(-) create mode 100644 tools/kvm/kvm_stat/kvm_stat.service -- 2.17.1