You don't need create a script for this. Use one that already exists. Monit can solve your problems. http://www.tildeslash.com/monit/ There is also a rpm package for rhel4/centos4 into Dag's repository at http://dag.wieers.com/packages/monit/ On 6/16/06, Fajar Priyanto <fajarpri@xxxxxxxxxx> wrote:
Hi all, Can someone pls help me on how to make this bash script? I want to monitor a process, and then when the process (for some reason) dies, the script will start the process again. Thank you, -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 18:39:44 up 10:21, 2.6.16-1.2111_FC5 GNU/Linux Let's use OpenOffice. http://www.openoffice.org _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos
-- Cleber P. de Souza _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos