View Single Post
Old 02-26-2003, 02:30 PM   #3 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
1. Have hlstats.pl write it's PID to /var/run/hlstats.pl.pid
2. Have your PHP script read PID from the /var/run/hlstats.pl.pid file
3. Look in /proc/PID to see if the process is still active.

Works good this way.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote