test
This commit is contained in:
parent
3e9b727f28
commit
19f2288c84
1 changed files with 2 additions and 0 deletions
|
@ -277,7 +277,9 @@ function get_memory_value {
|
|||
echo USEEEEEEEEEEED: $mem_used
|
||||
while read -r line; do
|
||||
mem_total=$(echo $line | awk '/total-memory:/{ gsub(/MiB/,"",$2); print $2 }')
|
||||
echo FREEEEEEEEEEEE111: $mem_free
|
||||
mem_free=$(echo $line | awk '/free-memory:/{ gsub(/MiB/,"",$2); print $2 }')
|
||||
echo TOTAAAAAAAAAAAAL111: $mem_total
|
||||
done <<< "$data"
|
||||
echo FREEEEEEEEEEEE: $mem_free
|
||||
echo TOTAAAAAAAAAAAAL: $mem_total
|
||||
|
|
Loading…
Reference in a new issue