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-monitDefault settings:
driveis/. If the value is incorrect or not found, / will be monitored by default.small_intervalis1second. 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 10small_interval value to 10 or more.
$ pm2 uninstall pm2-server-monitMIT
