what program accesses a file?

Anthony Tekatch anthony-e6QRBlwUI3iaMJb+Lgu22Q at public.gmane.org
Thu Oct 2 15:14:29 UTC 2003


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.

I have a Debian system that was recently fiddled with. Starting with a
Knoppix boot CD proves that the physical port is good.

TIA!

-- 
Anthony
--
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