process-stats
v3.7.12
Published
Display dynamic real-time information about running Node.js process
Downloads
1,196
Maintainers
Readme
process-stats
Display dynamic real-time information about running Node.js process.
Install
as package
$ npm install process-stats --save
as CLI
$ npm install process-stats --global
or
$ npx process-stats
Usage
const procStats = require('process-stats')()
// print collector stats
console.log(procStats())
// destroy collector
console.log(procStats.destroy())
Related
- pidusage: Cross-platform process cpu % and memory usage of a PID.
License
MIT © Kiko Beats.