node-stat

0.1.4 • Public • Published

node-stat

node-stat provides monitoring of Linux statistics to applications based on node.js.

Usage

Use on console

npm install -g node-stat
nodestat
nodestat -i 5

Use as module

var nodestat = require('node-stat');
setInterval(function() {
    nodestat.get('stat','net','load','disk', function(err, data) {
        console.log(JSON.stringify(data));
    });
}, 1000);

License

MIT

Dependents (3)

Package Sidebar

Install

npm i node-stat

Weekly Downloads

2

Version

0.1.4

License

MIT

Last publish

Collaborators

  • suguru