
This will trigger an email when more than 60% of your system memory is used.

I preferred to go with this method for most of the time. This is very simple and straightforward one line script. If you want to get only the current Memory utilization percentage through mail when the system reaches the given threshold, use the following script. Method-1 : Linux shell script to monitor memory usage with email alert When the system reaches the given threshold then it will trigger a mail to given email id. In this tutorial we have added two shell script to monitor Memory utilization on Linux system. If you only have few systems and want to monitor them then writing a small shell script can make your task very easy.

It monitors everything such as CPU utilization, Memory utilization, swap utilization, disk space utilization and much more. There are many open source monitoring tools are currently available in market to monitor Linux systems performance which will send an email alert when the system reaches the specified threshold limit.
