Commit 4410b1e1 authored by nanahira's avatar nanahira

js

parent b1672d5e
Pipeline #1850 failed with stages
in 13 minutes and 32 seconds
......@@ -779,7 +779,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