pmx-cores
v1.0.0
Published
report all system cores to pmx keymetrics
Downloads
7
Maintainers
Readme
pmx-cores
Report system cpu and core usage to keymetrics via pmx.
example
var pmxcores = require('pmx-cores');
// report every second to keymetrics
pmxcores.report();
// or use the data your way
pmxcores.info(function(cpu) {
console.log(cpu);
});
pmxcores.usage(function(cpu) {
console.log(usage);
});