what program accesses a file?
Tim Writer
tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Fri Oct 3 15:35:27 UTC 2003
Anthony Tekatch <anthony-e6QRBlwUI3iaMJb+Lgu22Q at public.gmane.org> writes:
> On Thu, 2 Oct 2003 18:28:37 -0400, William Park <opengeometry-FFYn/CNdgSA at public.gmane.org> wrote:
> > man fuser
>
> On 02 Oct 2003 22:07:30 -0400, Tim Writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org> wrote:
> > Or try lsof.
>
> Thanks for pointing out those interesting utilities, however, I tried each
> of the following and nothing showed up:
>
> while true; do lsof | grep ttyS ; done
> while true; do fuser /dev/ttyS0 ; done
>
> meanwhile the tx: field below keeps changing
>
> cat /proc/tty/driver/serial
> serinfo:1.0 driver:5.05c revision:2001-07-08
> 0: uart:16550A port:3F8 irq:4 baud:19200 tx:212754 rx:6 RTS|DTR
> 1: uart:16550A port:2F8 irq:3 baud:9600 tx:4895 rx:10543 RTS|DTR|DSR|RI
>
>
> Either something is opening that port so quickly the while loop is not
> catching anything or some other weird problem exists.
>
> Do you have any other ideas?
Try moving ttyS0 aside:
mv /dev/ttyS0 /dev/ttyS0.orig
If you're lucky, whatever is opening it will log an error message.
> PS. I have attached a listing of my running processes.
I don't see anything obvious.
--
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