Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Noel committed Mar 31, 2020
1 parent 7923a22 commit 9f660ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ async function testerino() {
console.log(`System Total Memory: ${sys.getTotalMemory()}`);
console.log(`System CPU Usage: ${sys.getCPUUsage()}%`);
// it's intentional to emit a warning
//console.log(`System Memory by Megabytes:\n${inspect(sys.free(sys.Constants.FreeFlags.megabytes))}`);
//console.log(`System Memory by Gigabytes:\n${inspect(sys.free('gigabytes'))}\n`);
console.log(`System Memory by Megabytes:\n${inspect(sys.free(sys.Constants.FreeFlags.megabytes))}`);
console.log(`System Memory by Gigabytes:\n${inspect(sys.free('gigabytes'))}\n`);
console.log(`System Load Average by 1: ${sys.getLoadAvg(1)}`);
console.log(`System Load Average by 5: ${sys.getLoadAvg(5)}`);
console.log(`System CPU Model (${sys.getCPUInfo().firstModel}...${sys.getCPUInfo().lastModel}):\n${inspect(sys.getCPUInfo())}\n`);
//console.log(`System Filesystem:\n${inspect(sys.getFilesystemInfo())}\n`);
console.log(`System Filesystem:\n${inspect(sys.getFilesystemInfo())}\n`);
console.log(`System Proccess by 10:\n${inspect(await sys.getProcesses(10))}\n`);
//console.log(`Unix Uptime:\n${inspect(sys.getUnixUptime())}`);
console.log(`Unix Uptime:\n${inspect(sys.getUnixUptime())}`);
console.log(`Workstation: ${inspect(sys.getWindowsWorkstation())}`);
console.log(`Services: ${inspect(sys.getWindowsServices())}`);
console.log(`Motherboard: ${inspect(sys.getMotherboard())}`);
Expand Down

0 comments on commit 9f660ef

Please sign in to comment.