statistics tool which output Linux statistics as JSON format
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
formats
plugins
.gitignore
LICENSE
README.md
cli-wrapper.js
index.js
node-stat.js
package.json

README.md

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