Skip to content

Instantly share code, notes, and snippets.

@simone-sanfratello
Created March 1, 2020 10:11
Show Gist options
  • Save simone-sanfratello/0a1fd08b607536bf04f58f463444e618 to your computer and use it in GitHub Desktop.
Save simone-sanfratello/0a1fd08b607536bf04f58f463444e618 to your computer and use it in GitHub Desktop.
system info
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