node-resource-monitor

Monitoring system resources that consumed by a nodejs app

node-resource-monitor

Monitoring system resources that consumed by a nodejs app

npm install node-resource-monitor
var NodeResourceMonitor = require('./node_resource_monitor');
var monitor = new NodeResourceMonitor();

// start
monitor.start(1000);

// get data points
var data = monitor.get();

// stop
monitor.stop();
npm install coffee-script -g
npm install mocha -g
npm test