test
This commit is contained in:
parent
bea291eee9
commit
8efb312844
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ name=${name:-mikrotik}
|
|||
function get_cpu_labels {
|
||||
echo multigraph cpu_load_detail_$name
|
||||
c=0
|
||||
anzahl_cpu=$(echo $line | grep 'cpu-count:' | awk '{ print $2 }' | tr -dc '[:print:]')
|
||||
while read -r line; do
|
||||
anzahl_cpu=$(echo $line | grep 'cpu-count:' | awk '{ print $2 }' | tr -dc '[:print:]')
|
||||
done <<< "$data"
|
||||
echo DEBUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUG! : $anzahl_cpu
|
||||
while [ "$c" -lt "$anzahl_cpu" ]; do
|
||||
while read -r line; do
|
||||
|
|
Loading…
Reference in a new issue