Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] fuser



Matt Doughty wrote:

> On Wed, May 08, 2002 at 05:34:00PM +0900, B0Ti wrote:
> >
> > I have a file that's being appended to periodically, but can't find out what process is doing it.
>
> I assume you have tried lsof in a shell script, and it doesn't fit the bill
> for one reason or another?

Tried both fuser and lsof in a loop. Works, but not very well. Short file operations aren't detected. (e.g `echo test > testfile`). Works when the target file is opened for a little longer
time (e.g `cat 1megfile > testfile`)



--
B0Ti.




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links