- os
- totalmem
- freemem
- uptime
- loadavg
- platform
- hostname
- type
- tmpdir
- networkInterfaces
OS module
- A bunch of OS-related methods
- os
examples/basic/the_os_module.js
const os = require('os') console.log(os.totalmem()) console.log(os.freemem()) console.log(os.uptime()) console.log(os.loadavg()) console.log(os.platform()) console.log(os.hostname()) console.log(os.type()) console.log(os.tmpdir()) console.log(os.networkInterfaces())