mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Update cpu_
fixed /proc/stat parsing issues
This commit is contained in:
parent
ff1c67d59c
commit
a3d90c8fb0
@ -59,6 +59,11 @@ guest.draw STACK
|
||||
guest.min 0
|
||||
guest.type DERIVE
|
||||
guest.info The time spent running a virtual CPU for guest operating systems under the control of the Linux kernel.
|
||||
guest_nice.label guest
|
||||
guest_nice.draw STACK
|
||||
guest_nice.min 0
|
||||
guest_nice.type DERIVE
|
||||
guest_nice.info The time spent running a virtual CPU for niced guest operating systems under the control of the Linux kernel.
|
||||
EOF
|
||||
}
|
||||
|
||||
@ -80,7 +85,7 @@ fi
|
||||
|
||||
emit_values()
|
||||
{
|
||||
while read key system user nice idle iowait irq softirq steal guest unused
|
||||
while read key user nice system idle iowait irq softirq steal guest guest_nice
|
||||
do
|
||||
[ "$key" != "$1" ] && continue
|
||||
cat <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user