test
This commit is contained in:
parent
63c88a6b62
commit
8415073b7f
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ function get_memory_value {
|
|||
done <<< "$data")
|
||||
echo FREEEEEEEEEEEE: $mem_free
|
||||
echo TOTAAAAAAAAAAAAL: $mem_total
|
||||
mem_used=$(awk '{ print("'"$mem_total"'" - "'"$mem_free"'") }')
|
||||
mem_used=$(awk -v total="$mem_total" -v free="$mem_free" '{ print(total - free)}')
|
||||
echo used_memory.value $mem_used
|
||||
# prufe noch ob war gesetzt
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue