Package Exports
- process-stats
- process-stats/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (process-stats) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.