node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

Basic wrapper around some of the core node.js OS functionality


 git clone
 npm install
 node bin/os-monitor

Using NPM

npm install

Hook Event Names

Event Listeners

os-monitor::report {} - Initialises an os-monitor report event

[name]::os-monitor::startPoll {interval} - Starts the os-monitor server poll, emitting an os-monitor::report::result every interval milliseconds

[name]::os-monitor::stopPoll {name, path} - Stops a previously started poll

Events Emitted:

os-monitor::poll::started {} -

os-monitor::poll::stopped { } -

os-monitor::report::result {HostName, UpTime, TotalMem, FreeMem} -

Hook config.json settings