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

loadavg

Nodejs Get load average (for linux)

This module read /proc/loadavg and provide all infos as an object

Ex.:

var loadavg = require('loadavg');
 
loadavg.on('update', function(d) { console.log(d); });
loadavg.update();