node package manager
Easy collaboration. Discover, share, and reuse code in your team. 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();