while typo
This commit is contained in:
parent
30ce95e62b
commit
693ca713b9
1 changed files with 4 additions and 3 deletions
|
@ -280,9 +280,10 @@ function get_memory_value {
|
|||
echo TOTAAAAAAAAAAAAL: $mem_total
|
||||
mem_used=$(awk '{ print("'"mem_total"'" - "'"mem_free"'") }')
|
||||
echo USEEEEEEEEEEED: $mem_used
|
||||
echo $line | awk '/total-memory:/{
|
||||
print "used_memory.value " "'"$mem_used"'"
|
||||
}'
|
||||
while read -r line; do
|
||||
echo $line | awk '/total-memory:/{
|
||||
print "used_memory.value " "'"$mem_used"'"
|
||||
}'
|
||||
done <<< "$data"
|
||||
while read -r line; do
|
||||
echo $line | awk '/total-memory:/{
|
||||
|
|
Loading…
Reference in a new issue