Cpu availability of any server using nodejs
let cpuMonitor = require('cpu-monitor')('backend-url');
server.listen(cpuMonitor.start({ port: 8080, name: 'my-test-server'}))
$ npm install -g cpu-monitor
$ cpu-monitor [name] [backend-url]
Cpu availability of any server using nodejs
let cpuMonitor = require('cpu-monitor')('backend-url');
server.listen(cpuMonitor.start({ port: 8080, name: 'my-test-server'}))
$ npm install -g cpu-monitor
$ cpu-monitor [name] [backend-url]