Monitor server CPU / Memory / Process / Zombie Process / Disk size / Security Packages / Network Input / Network Output
Switch branches/tags
Nothing to show
Clone or download
Latest commit ce7b6a8 Jun 18, 2018
Failed to load latest commit information.
lib Update cpu.js Jun 18, 2018
test Add drone tests Jun 30, 2017
.drone.yml Remove slack + ES5 Jun 30, 2017
.gitignore fixes Jun 5, 2015 Update Feb 26, 2017
app.js Remove shelljs Mar 14, 2017
package.json Bump version Nov 9, 2017
server-monit.png add screen: Dec 14, 2015


PM2 module to automatically monitor vital signs of your server :

  • CPU average usage
  • Free and used drive space
  • Free and used memory space
  • Operating System
  • All processes running
  • TTY/SSH opened
  • Total opened files
  • Network speed (input and output)



$ npm install pm2 -g

$ pm2 install pm2-server-monit


Default settings:

  • drive is /. If the value is incorrect or not found, / will be monitored by default.
  • small_interval is 1 second. Represents the refresh_rate of the cpu and network workers.

To modify the config values you can use Keymetrics dashboard or the following commands:

pm2 set pm2-server-monit:drive /
pm2 set pm2-server-monit:small_interval 10

⚠️ If this module uses too much CPU, set the small_interval value to 10 or more.


If you have in some categories, your OS configuration is not supported for this option.


$ pm2 uninstall pm2-server-monit

Update to latest version

$ pm2 module:update pm2-server-monit