aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2008-10-23 13:37:10 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-10-23 13:38:54 +0200
commitde9a7180c36f60590dbba86dc283ad09c0f1cc9c (patch)
tree0946bf0a996e7864ac9e0ebbf2212b530a877e98
parentf16a74a5a0c9745fe5717436a5a49aa51fa0838b (diff)
use LINE1 draw type for nicer graphs
-rw-r--r--libvirt-blkstat2
-rw-r--r--libvirt-ifstat2
2 files changed, 4 insertions, 0 deletions
diff --git a/libvirt-blkstat b/libvirt-blkstat
index 0003754..c88d8a4 100644
--- a/libvirt-blkstat
+++ b/libvirt-blkstat
@@ -36,10 +36,12 @@ graph_info This graph shows the block device I/O of the virtual machines"""
print "%s_read.type DERIVE" % canon(name)
print "%s_read.min 0" % canon(name)
print "%s_read.graph no" % canon(name)
+ print "%s_read.draw LINE1" % canon(name)
print "%s_write.label %s" % (canon(name), name)
print "%s_write.type DERIVE" % canon(name)
print "%s_write.min 0" % canon(name)
print "%s_write.negative %s_read" % (canon(name), canon(name))
+ print "%s_write.draw LINE1" % canon(name)
def get_disks(dom):
xml = dom.XMLDesc(0)
diff --git a/libvirt-ifstat b/libvirt-ifstat
index 35a807c..25ce452 100644
--- a/libvirt-ifstat
+++ b/libvirt-ifstat
@@ -36,10 +36,12 @@ graph_info This graph shows the network I/O of the virtual machines"""
print "%s_rx.type DERIVE" % canon(name)
print "%s_rx.min 0" % canon(name)
print "%s_rx.graph no" % canon(name)
+ print "%s_rx.draw LINE1" % canon(name)
print "%s_tx.label %s" % (canon(name), name)
print "%s_tx.type DERIVE" % canon(name)
print "%s_tx.min 0" % canon(name)
print "%s_tx.negative %s_rx" % (canon(name), canon(name))
+ print "%s_tx.draw LINE1" % canon(name)
def get_ifaces(dom):
xml = dom.XMLDesc(0)