Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i node-stat

Downloadsweekly downloads

77

version

0.1.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar