aboutsummaryrefslogtreecommitdiff
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
parentf5ead05a9faba85618401b4f09c216addf9e354d (diff)
add copyright year and license
-rw-r--r--libvirt-blkstat8
-rw-r--r--libvirt-cputime2
-rw-r--r--libvirt-ifstat8
3 files changed, 12 insertions, 6 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()
diff --git a/libvirt-cputime b/libvirt-cputime
index 011a115..6566f9d 100644
--- a/libvirt-cputime
+++ b/libvirt-cputime
@@ -6,6 +6,8 @@
#
# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
#
+# License: GPLv2
+#
# depends: python-libvirt
#
# If you don't want to use the default uri use:
diff --git a/libvirt-ifstat b/libvirt-ifstat
index 22d257f..8d3bde4 100644
--- a/libvirt-ifstat
+++ b/libvirt-ifstat
@@ -1,8 +1,11 @@
#!/usr/bin/python
+# vim: set fileencoding=utf-8 :
#
# Munin plugin to show the network traffic of libvirt managed virtual machines
#
-# Copyright Guido Guenther <agx@sigxcpu.org>
+# Copyright 2008 Guido Guenther <agx@sigxcpu.org>
+#
+# License GPLv2
#
# depends: python-libvirt, python-libxml2
#
@@ -26,8 +29,7 @@ def print_config(uri):
print """graph_title Virtual Domain Network I/O
graph_vlabel Bytes rx (-)/ tx (+) per ${graph_period}
graph_category Virtual Machines
-graph_info This graph shows the network I/O of the virtual machines
-"""
+graph_info This graph shows the network I/O of the virtual machines"""
conn = libvirt.openReadOnly(uri)
ids = conn.listDomainsID()