signaling when a file is closed
Mike McCarty
mike.mccarty at sbcglobal.net
Tue Feb 21 02:00:43 UTC 2006
Andrew B. Young wrote:
> If this is OT feel free to direct me elsewhere.
>
> I need to know when a process as finished writing
> a file and has closed it. My only clue is fuser,
> which somehow knows what processes have files open.
>
> Is there a way for me to set a signal on a file's
> state that lets me know when it has been closed?
Is it possible simply to use tee or perhaps a named
pipe? That way you would get actual real time pass-through.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
More information about the users
mailing list