In the contrib directory for sec, there are example startup scripts for redhat, freebsd, and solaris. In each of them is a status check process. I would like to add a status check process for each of the startups similar to below. The status check proves itself useful if you run multiple correlators.
foo:sec-2.5.3$ ls contrib convert.pl startup.freebsd startup.solaris itostream.c startup.redhat swatch2sec.pl dostatus() { echo -n "checking process PID `/bin/cat $pidfile` - " /bin/kill -0 `/bin/cat $pidfile` if [ $? -eq 0 ] ; then echo "alive" else echo "not alive" fi } Regards, Tim Peiffer -- Tim Peiffer Network Support Engineer Office of Information Technology University of Minnesota/NorthernLights GigaPOP +1 612 626-7884 (desk) ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users