Display dynamic real-time information about running Node.js process.
$ npm install process-stats --save
$ npm install process-stats --global
or
$ npx process-stats
const procStats = require('process-stats')()
// print collector stats
console.log(procStats())
// destroy collector
console.log(procStats.destroy())
- pidusage: Cross-platform process cpu % and memory usage of a PID.
MIT © Kiko Beats.