This commit is contained in:
Michael Grote 2021-09-21 19:59:20 +02:00
parent 8415073b7f
commit 99694909fb

View file

@ -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
}