On Dec 20, 2007, at 18:37, Kevin D. Clark wrote:

> How about:
>
>    while inotifywait -e modify /file/you/are/interested/in; do
>      lsof /file/you/are/interested/in >>/tmp/logfile
>      date >>/tmp/logfile
>    done

If it were someone editing a file, that would be a great solution.   
In this particular case I'm trying to catch an unlink - my hunch is  
lsof woudn't show anything.

-Bill

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
[EMAIL PROTECTED]           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf

_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to