in reply to Re: How to detect if file is in use?
in thread How to detect if file is in use?
The problem with fuser (or lsof) is that it'll tell you the process has an open descriptor for the file, but that doesn't say anything about if it's actively writing to it.Detecting wether some process has an open fd for the file is fine and all that is needed for this particular task. Thank you for the additional insightful info provided, in any case.
|
|---|