test awk
This commit is contained in:
parent
41deb42b58
commit
b131b96ded
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue