This commit is contained in:
Michael Grote 2021-09-19 18:58:08 +02:00
parent 41deb42b58
commit b131b96ded

View file

@ -144,10 +144,7 @@ while read -r line; do
while [ "$c" -lt "$anzahl_cpu" ]
do
echo in schleife
echo $line | grep cpu$c | sed 's/%//g' | awk '{
print "cpu_load_detailed_graph_load" "'"cpu$c"'" $3;
print "cpu_load_detailed_graph_irq" "'"cpu$c"'" $4;
print "cpu_load_detailed_graph_disk" "'"cpu$c"'" $5}'
echo $line | grep cpu$c | sed 's/%//g' | awk '{ print "cpu_load_detailed_graph_load cpu" "'"$c"'" $3; print "cpu_load_detailed_graph_irq cpu" "'"$c"'" $4; print "cpu_load_detailed_graph_disk cpu" "'"$c"'" $5}'
c=$(( $c + 1 ))
done
fi