I will attach the script that I wrote to do a variety of grok control
jobs - most of which are very specific to my setup so probably not
useful but hopefully you can whittle it down to just the bit that
controls the starting/stopping/restarting of grok. Note the script
works / was written for FreeBSD 6.3.
--
Jez Hancock
- System Administrator / PHP Developer
http://freebsd.munk.me.uk/ - A FreeBSD Admin Weblog
http://ipfwstats.sf.net/ - ipfw peruser traffic logging