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

Merge remote branch 'pull/468'

This commit is contained in:
Steve Schnepp 2014-03-14 11:57:26 +01:00
commit 83df6155fa

View file

@ -87,6 +87,9 @@ emit_values()
{
while read key user nice system idle iowait irq softirq steal guest guest_nice
do
if [ "$guest_nice" == "" ]; then
guest_nice=0
fi
[ "$key" != "$1" ] && continue
cat <<EOF
system.value $system
@ -98,6 +101,7 @@ irq.value $irq
softirq.value $softirq
steal.value $steal
guest.value $guest
guest_nice.value $guest_nice
EOF
done < /proc/stat
}