• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Monitoring a shell process.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Monitoring a shell process. (From: Brendan Younger <email@hidden>)

  • Prev by Date: Re: Let's hope XP doesn't keep this
  • Next by Date: Re: As a Different User
  • Previous by thread: Re: Monitoring a shell process.
  • Next by thread: Cocoa, XML and Java
  • Index(es):
    • Date
    • Thread