in reply to Is file still open ?

ISTR that the Unix command lsof might have something to do with this. I'm not sure how consistent it is across various unices.