Skip to content
Snippets Groups Projects
Commit cd55a1b9 authored by Alex Ellis (OpenFaaS Ltd)'s avatar Alex Ellis (OpenFaaS Ltd)
Browse files

Update to MB

parent 52a42afb
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,8 @@ async function info(content, callback) {
let val = "";
val += "Hostname: " + data +"\n";
val += "Arch: " + os.arch() + "\n";
val += "CPU count: " + os.cpus().length+ "\n";
val += "Total mem: "+ os.totalmem() + "\n";
val += "CPUs: " + os.cpus().length+ "\n";
val += "Total mem: " + (os.totalmem()/1024/1024).toFixed(0) + "MB\n";
val += "Platform: " + os.platform()+"\n";
val += "Uptime: " + os.uptime()+ "\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment