✨
This commit is contained in:
parent
44ef1c1a4a
commit
a134358144
5 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue