/SystemLoad

Monitor your System Load

Primary LanguageJavaScriptMIT LicenseMIT

Description

System Load measures your CPU usage and displays the result in a web dashboard. It will also generate an alert if CPU usage stays above 50% on average for 2 minutes and will clear the alert once it drops below 50% for 2 minutes.

Alt text Alt text

System Requirements

Node v4.3.1 or above. You can use Vagrantfile to start a virtual testing environment. External dependencies hosted on a CDN: d3.js library and Roboto font.

Commands

  1. Install project dependencies.

npm install

  1. Test alerting logic.

npm test

  1. Start application server on localhost port 3000.

npm start

  1. Generate CPU load for testing at a constant 100%.

npm run load-100

  1. Generate CPU load for testing as a 3 minute period sine wave with 100% amplitude.

npm run load-sin