Given a file name. how do I find out process writing to the file ? -- Posted by inturi on Thursday, March 11 2010
Use fuser command to check processes using a given file.

Path = /etc/fuser
Example:
$fuser -f logfile.txt
logfile.txt: 14007o

Process id 14007 is writing to the file.

o Indicates that the process is using the file as an
open file.

[Edit] Home
If this information is helpful to you then please click here and post one simple tip that you know. Share your knowledge!