From a2073755994e532bc534750b069c149b2171ec7c Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 3 Jan 2017 04:35:32 +0900 Subject: [PATCH] Update MachineInfo --- src/utils/machineInfo.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/machineInfo.ts b/src/utils/machineInfo.ts index 9cf61eb6d..820f274ce 100644 --- a/src/utils/machineInfo.ts +++ b/src/utils/machineInfo.ts @@ -6,7 +6,10 @@ export default class MachineInfo { const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1); const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1); let logger = new Logger('Machine'); - logger.info(os.hostname()); + logger.info(`Hostname: ${os.hostname()}`); + logger.info(`Platform: ${process.platform}`); + logger.info(`Architecture: ${process.arch}`); + logger.info(`Node.js: ${process.version}`); logger.info(`CPU: ${os.cpus().length}core`); logger.info(`MEM: ${totalmem}GB (available: ${freemem}GB)`); }