mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Fixed typos & bad English
This commit is contained in:
parent
bac376c23e
commit
6935241315
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue