[Tutor] Re: Checking a file size before moving it
Michael Janssen
Janssen@rz.uni-frankfurt.de
Sat Feb 1 23:59:01 2003
On Fri, Jan 31, 2003 at 01:55:46PM -0000, alan.gauld@bt.com wrote:
| > I assume that there is no simple way to tell if a file is
| > being accessed.
I havn't followed the thread, but this might be of interest:
lsof shows you (on linux and others) the complete and very long LiSt of
Open Files. Just grep for it. The manpage of lsof is very long and every
time I read it I come to believe it will explain how lsof works, but
that's hard to tell (for me).
Michael