cpu-monitor
v0.1.0
Published
Cpu availability of any server using nodejs
Downloads
6
Readme
node-cpu-monitor
Cpu availability of any server using nodejs
Usage
For express application
let cpuMonitor = require('cpu-monitor')('backend-url');
server.listen(cpuMonitor.start({ port: 8080, name: 'my-test-server'}))
For non-node applications
$ npm install -g cpu-monitor
$ cpu-monitor [name] [backend-url]