|
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
|