This commit is contained in:
Michael Grote 2021-09-21 21:30:45 +02:00
parent 4e46378fb5
commit 318eaced1f

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