aboutsummaryrefslogtreecommitdiff
path: root/libvirt-blkstat
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2008-10-21 18:21:53 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-10-21 18:21:53 +0200
commitda6a0050276ce1048312446efd94b2bff149a4d0 (patch)
tree0f629763d51c021cde6c2b1bf591414d09a96701 /libvirt-blkstat
parentf5ead05a9faba85618401b4f09c216addf9e354d (diff)
add copyright year and license
Diffstat (limited to 'libvirt-blkstat')
-rw-r--r--libvirt-blkstat8
1 files changed, 5 insertions, 3 deletions
diff --git a/libvirt-blkstat b/libvirt-blkstat
index 0d72ee3..f066683 100644
--- a/libvirt-blkstat
+++ b/libvirt-blkstat
@@ -1,8 +1,11 @@
#!/usr/bin/python
+# vim: set fileencoding=utf-8 :
#
# Munin plugin to show the I/O load of libvirt managed virtual machines
#
-# Copyright Guido Guenther <agx@sigxcpu.org>
+# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
+#
+# Licesnse: GPLv2
#
# depends: python-libvirt, python-libxml2
#
@@ -26,8 +29,7 @@ def print_config(uri):
print """graph_title Virtual Domain Block Device I/O
graph_vlabel Bytes read (-)/ written (+) per ${graph_period}
graph_category Virtual Machines
-graph_info This graph shows the block device I/O of the virtual machines
-"""
+graph_info This graph shows the block device I/O of the virtual machines"""
conn = libvirt.openReadOnly(uri)
ids = conn.listDomainsID()