Originally Posted by prudens
Say I have a process called PROCESS1 with a PID of 99999.
When It dies a email is sent to me. I use Google Apps.
Also, I use webmin... any easy ways?
easy way is what i92guboj quoted above or some sort of shell or perl script that checks every so minutes and if it doesnt find a process that matches a name - then sends an alert.
best way is set up some sort of monitoring system.
nagios, zabbix, open nms, there is a big choice.