Problem
I was getting alerts from mmonit that a linux server was hitting above 90% RAM usage. This was happening at odd hours but on a frequent basis so needed to check which processes were using up resources.
Solution
- Create a script that lists processes using up RAM and CPU.
- Have mmonit run the script and write the results to a log file.