0.1.4 • Published 10 years ago
node-stat v0.1.4
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