This commit is contained in:
Aya Morisawa
2017-01-03 04:39:44 +09:00
parent 44ef1c1a4a
commit a134358144
5 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import * as os from 'os';
import Logger from './logger';
export default class MachineInfo {
export default class {
static show(): void {
const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1);
const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1);