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