1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Merge pull request #196 from sebi/patch-1

Fixed typos & bad English
This commit is contained in:
Steve Schnepp 2012-09-26 06:26:26 -07:00
commit 4699dea341

View file

@ -3,7 +3,7 @@
# Script to monitor CPU usage of Xen domains # Script to monitor CPU usage of Xen domains
# #
# Author: unknown # Author: unknown
# Modifications: Matthias Pfafferodt, syntron@web.de, Roland Mohrbacher # Modifications: Sebastian Wyder <sebastian.wyder@me.com>, Matthias Pfafferodt, syntron@web.de, Roland Mohrbacher
# License: GPL v. 2 # License: GPL v. 2
# #
# Parameters understood: # Parameters understood:
@ -32,12 +32,12 @@ if [ "$1" = "config" ]; then
touch $statefile touch $statefile
fi fi
echo 'graph_title Xen Domain Utilerisation' echo 'graph_title Xen Domain Utilisation'
echo 'graph_args --base 1000 -l 0 --upper-limit 100 --rigid' echo 'graph_args --base 1000 -l 0 --upper-limit 100 --rigid'
echo 'graph_scale no' echo 'graph_scale no'
echo 'graph_vlabel %' echo 'graph_vlabel %'
echo 'graph_category xen' echo 'graph_category xen'
echo 'graph_info This graph shows how many % of the CPU time where used by a domain' echo 'graph_info This graph shows how many percent of the CPU time was used by each domain'
xm list | grep -v "^Name .* Time(s)$" | \ xm list | grep -v "^Name .* Time(s)$" | \
while read name domid mem cpu state time console; do while read name domid mem cpu state time console; do
@ -61,7 +61,7 @@ if [ "$1" = "config" ]; then
fi fi
echo "$name.min 0" echo "$name.min 0"
echo "$name.max 100" echo "$name.max 100"
echo "$name.info % of the CPU time spend for $name" echo "$name.info % of the CPU time spent for $name"
done done
exit 0 exit 0
fi fi