This commit is contained in:
Michael Grote 2021-09-21 21:30:00 +02:00
parent 0f13b6e964
commit 4e46378fb5

View file

@ -291,7 +291,7 @@ function get_memory_label {
print "free_memory.label free memory";
print "graph_info Total, Used & free RAM."
}'
echo $line | awk '/free-memory:/{ gsub(/MiB/,"",$2); $zw=$2*0.9; print used_memory.critical $zw }'
echo $line | awk '/free-memory:/{ gsub(/MiB/,"",$2); $zw=$2*0.9; print "used_memory.critical" $zw }'
done <<< "$data"
}