Hi perrin, on the unix system, use fuser(system V), fstat(BSD), pff(public domain) to find out various things about processes using a particular file (or files).
I responded to your post earlier simply because I thought just checking a file's size to find out if it is still being written to is not a reliable method, not really related to the original post.
Comment on Re: Re: Re: Re: Daemon To Check For Files