Created
March 1, 2020 10:11
-
-
Save simone-sanfratello/0a1fd08b607536bf04f58f463444e618 to your computer and use it in GitHub Desktop.
system info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const si = require('systeminformation'); | |
(async () => { | |
console.log('cpu speed', await si.cpuCurrentspeed()) | |
console.log('cpu temperatrue', await si.cpuTemperature()) | |
console.log('memory', await si.mem()) | |
console.log('disk', await si.fsSize()) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment