debug grep
This commit is contained in:
parent
b131b96ded
commit
eafb01bea4
1 changed files with 2 additions and 2 deletions
|
@ -140,11 +140,11 @@ while read -r line; do
|
|||
echo multigraph mikrotik_cpu_load_detailed_graph_$name
|
||||
c=0
|
||||
echo c $c
|
||||
echo anzal $anzahl_cpu
|
||||
echo anzahl $anzahl_cpu
|
||||
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
|
||||
c=$(( $c + 1 ))
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue