Response: Yes, the process would stay active, but isn't that what's needed, at least until the script ends, or the process is terminated? My guess would be to fork this check. I'm uncertain why there aren't any hooks already into the Linux kernel to do this... perhaps there are, afterall, I come from the MS world :)