I have what I think is a stupid question but I cannot seem to find the answer. My boss' Astaro box at home has been going into states of high CPU usage and I have been tasked with tracking it down. I have SSH and webadmin access to it. Anyway I found a nice little script here that can be scheduled as a cron job to email me on the processes that go above a set CPU usage (say 70%). I have modified it slightly to stop throwing some errors about a defunct process but I am now receiving this error:
./monitorCpuUsage.sh: line 124: mail: command not found
and that leads me to the actual question, what is the command to mail something on Astaro? I simply want it to send out a report of the high CPU processes whenever the script runs, probably every 5 minutes or so.
If there is an easier way to do this please let me know. Thanks for your time!!!
This thread was automatically locked due to age.