Re: Monitoring a shell process.
Re: Monitoring a shell process.
- Subject: Re: Monitoring a shell process.
- From: Jean-François Veillette <email@hidden>
- Date: Fri, 6 Jul 2001 09:41:40 -0400
Untested suggestion ...
Instead of active pooling, why dont you just wait for tail -F "the
apache log file" to change.
Start a thread with "tail -F 'the apache log file'" and receive
notification on the ouput pipe.
I'm sorry I don't know where is that apache log file, I just guess that
on restart/exit it would log something there.
- jfv