This commit is contained in:
Michael Grote 2021-09-19 19:54:50 +02:00
parent 68c8fd769f
commit d7b2cc71eb

View file

@ -147,7 +147,7 @@ while read -r line; do
do
echo in schleife
#FEHLER IST DAS GREP NIE CPU0 us ausgibt, hier fehlt before/after
echo $line
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