aboutsummaryrefslogtreecommitdiff
path: root/libvirt-ifstat
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 /libvirt-ifstat
parentf16a74a5a0c9745fe5717436a5a49aa51fa0838b (diff)
use LINE1 draw type for nicer graphs
Diffstat (limited to 'libvirt-ifstat')
-rw-r--r--libvirt-ifstat2
1 files changed, 2 insertions, 0 deletions
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)