what program accesses a file?
Tim Writer
tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Fri Oct 3 02:07:30 UTC 2003
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org> writes:
> On Thu, Oct 02, 2003 at 11:14:29AM -0400, Anthony Tekatch wrote:
> > Is there a utility that can report on what is accessing a file like
> > /dev/ttyS0 ?
> >
> > Recently that serial port has become unusable because something is
> > transmitting as seen by:
> > cat /proc/tty/driver
> >
> > Also carefully watching file info using "mc" the Modify time is being
> > changed but the Access time is remaining the same.
> >
> > I cannot figure out what process is using that port.
>
> man fuser
Or try lsof.
--
tim writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org> starnix inc.
tollfree: 1-87-pro-linux thornhill, ontario, canada
http://www.starnix.com professional linux services & products
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list