Re: [LIP] Finding what are the process have opened the files.

Aravamudhan Ranganathan <aravamudhan_r-/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Tweak it watch ?

--- Logu <[email protected]> wrote:

> >
> > Tried fuser ?
> >
> > Regards
> > Aravamudan
> >
> 
> I tried both fuser and lsof.  But they will only
> list the details for the 
> file that is currently being used when they are
> executed. But to my limited 
> knowledge they cann't be used to wait for a file to
> be opened and list the 
> process id which opened it.
> 
> I tried this as well but cant get what I wanted.
> 
> while ! lsof /path/to/file; do :;done 
> 
> 
> 
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2005.
>
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
https://lists.sourceforge.net/lists/listinfo/linux-india-programmers
> 



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.