Commit 8e148721 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 3d13214a 4410b1e1
Pipeline #1849 passed with stages
in 13 minutes and 58 seconds
......@@ -877,7 +877,7 @@
get_memory_usage = global.get_memory_usage = function() {
var percentUsed;
percentUsed = os.freemem() / os.totalmem() * 100;
percentUsed = (1 - os.freemem() / os.totalmem()) * 100;
memory_usage = global.memory_usage = percentUsed;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment