mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Update to MB
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
52a42afbf6
commit
cd55a1b9fc
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user