I have added a new script to my "Custom Scripts" section.
This script is run as a cron job, generally set for every minute, which grabs the output from "top" and processes it. It checks the CPU and memory load of each of the top 10 processes, and the total of the top 10 processes. It then emails you if there are any processes using more than what you specify as the maximum load per process, or if the total is more than the maximum you specify for that.
Due to the large number of script downloads from my site compared to the very small number of "Scripts Club" members, I have decided to make a small modification to how my scripts are provided. All my scripts are still free, but versions with enhanced features will only be available to members.
The free version (V1.0) of my Server Monitor script works just fine, but the members version has 2 enhancements.
- you can choose to ignore some commands and/or users for single process monitoring so you don't get emailed when stats are run unless the total load is too high
- you have the ability to specify a minimum time between emails so you can have the script check every minute, but not get an email every minute under high loads
It's only $10 to become a lifetime "Scripts Club" member which has several benefits.
This script is run as a cron job, generally set for every minute, which grabs the output from "top" and processes it. It checks the CPU and memory load of each of the top 10 processes, and the total of the top 10 processes. It then emails you if there are any processes using more than what you specify as the maximum load per process, or if the total is more than the maximum you specify for that.
Due to the large number of script downloads from my site compared to the very small number of "Scripts Club" members, I have decided to make a small modification to how my scripts are provided. All my scripts are still free, but versions with enhanced features will only be available to members.
The free version (V1.0) of my Server Monitor script works just fine, but the members version has 2 enhancements.
- you can choose to ignore some commands and/or users for single process monitoring so you don't get emailed when stats are run unless the total load is too high
- you have the ability to specify a minimum time between emails so you can have the script check every minute, but not get an email every minute under high loads
It's only $10 to become a lifetime "Scripts Club" member which has several benefits.