summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2014-07-14 15:09:51 +0200
committerMichal Privoznik <mprivozn@redhat.com>2014-07-18 16:39:54 +0200
commit28d54aab0578fe49744f8dab6543a0c89be5c418 (patch)
treee72c0a1bbaddde28e62476bfd245e662a68f9f74 /Makefile.am
parent50281605237df9421f6ca68f957e780a2e873fc3 (diff)
downloadlibvirt-28d54aab0578fe49744f8dab6543a0c89be5c418.tar.gz
examples: Introduce domtop
There's this question on the list that is asked over and over again. How do I get {cpu, memory, ...} usage in percentage? Or its modified version: How do I plot nice graphs like virt-manager does? It would be nice if we have an example to inspire people. And that's what domtop should do. Yes, it could be written in different ways, but I've chosen this one as I think it show explicitly what users need to implement in order to imitate virt-manager's graphing. Note: The usage is displayed from host perspective. That is, how much host CPUs the domain is using. But it should be fairly simple to switch do just guest CPU usage if needed. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a374e1a156..4aafe946cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ SUBDIRS = . gnulib/lib include src daemon tools docs gnulib/tests \
examples/dominfo examples/domsuspend examples/apparmor \
examples/xml/nwfilter examples/openauth examples/systemtap \
tools/wireshark examples/dommigrate \
- examples/lxcconvert
+ examples/lxcconvert examples/domtop
ACLOCAL_AMFLAGS = -I m4