JSPM

  • Created
  • Published
  • Downloads 92
  • Score
    100M100P100Q77509F
  • License MIT

Display dynamic real-time information about running Node.js process

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


process-stats

Last version Coverage Status NPM Status

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())
  • pidusage: Cross-platform process cpu % and memory usage of a PID.

License

MIT © Kiko Beats.