Re: Monitoring running/stopped process

2003-08-14 Thread Bret Hughes
On Fri, 2003-08-08 at 10:02, Chris wrote: > I have an intermitent problem on one of my servers with the Apache service > failing at random intervals. How would I go about checking, in a shell > script (run every few minutes with cron), whether httpd service is "running" > or "stopped", and if "sto

Monitoring running/stopped process

2003-08-14 Thread Chris
I have an intermitent problem on one of my servers with the Apache service failing at random intervals. How would I go about checking, in a shell script (run every few minutes with cron), whether httpd service is "running" or "stopped", and if "stopped" run a command or another shell script that w