Skip to content

tools/kvm_stat: add logfile support

Stefan Raspl kvm 2 versions – Applied

Status from this message: Queued, thanks. (Patches sent during the merge window are delayed and

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3tools/kvm_stat: add command line switch '-z' to skip zero recordstools/kvm/kvm_stat/kvm_stat tools/kvm/kvm_stat/kvm_stat.txt+24 -80 replies
2/3tools/kvm_stat: Add command line switch '-L' to log to filetools/kvm/kvm_stat/kvm_stat tools/kvm/kvm_stat/kvm_stat.txt+68 -130 replies
3/3tools/kvm_stat: add sample systemd unit filetools/kvm/kvm_stat/kvm_stat.service+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] tools/kvm_stat: add logfile support

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
Signature · 1 line
2.17.1