diff options
author | Janosch Frank <frankja@linux.vnet.ibm.com> | 2016-05-18 13:26:21 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-25 16:12:03 +0200 |
commit | f9bc9e65fbec1781f64effc6bcc3b6edc57f8d19 (patch) | |
tree | 91af2147067819e40930cfdfb7d29a9bfbca4933 /tools/kvm/kvm_stat/Makefile | |
parent | 3ce424e45411cf5a13105e0386b6ecf6eeb4f66f (diff) |
tools: Add kvm_stat vm monitor script
This tool displays kvm vm exit statistics to ease vm monitoring. It
takes its data from the kvm debugfs files or the vm tracepoints and
outputs them as a curses ui or simple text.
It was moved from qemu, as it is dependent on the kernel whereas qemu
works with a large number of kernel versions, some of which may break
the script.
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/kvm/kvm_stat/Makefile')
-rw-r--r-- | tools/kvm/kvm_stat/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/kvm/kvm_stat/Makefile b/tools/kvm/kvm_stat/Makefile new file mode 100644 index 000000000000..c639b8d30688 --- /dev/null +++ b/tools/kvm/kvm_stat/Makefile @@ -0,0 +1,5 @@ +BINDIR=usr/bin + +install: + mkdir -p $(INSTALL_ROOT)/$(BINDIR) + install -m 755 -p "kvm_stat" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" |