Projet

Général

Profil

Révision a3d90c8f

IDa3d90c8fb0ecfda3a29e59cce44369e460c912b9
Parent ff1c67d5
Enfant 34d10286

Ajouté par rkarlsba il y a plus de 11 ans

Update cpu_

fixed /proc/stat parsing issues

Voir les différences:

plugins/system/cpu_
59 59
guest.min 0
60 60
guest.type DERIVE
61 61
guest.info The time spent running a virtual CPU for guest operating systems under the control of the Linux kernel.
62
guest_nice.label guest
63
guest_nice.draw STACK
64
guest_nice.min 0
65
guest_nice.type DERIVE
66
guest_nice.info The time spent running a virtual CPU for niced guest operating systems under the control of the Linux kernel.
62 67
EOF
63 68
}
64 69

  
......
80 85

  
81 86
emit_values()
82 87
{
83
	while read key system user nice idle iowait irq softirq steal guest unused
88
	while read key user nice system idle iowait irq softirq steal guest guest_nice
84 89
	do
85 90
		[ "$key" != "$1" ] && continue
86 91
		cat <<EOF

Formats disponibles : Unified diff