what program accesses a file?

Anthony Tekatch anthony-e6QRBlwUI3iaMJb+Lgu22Q at public.gmane.org
Fri Oct 3 13:23:02 UTC 2003


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?

TIA!

PS. I have attached a listing of my running processes.

-- 
Anthony
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: psax.txt
URL: <http://gtalug.org/pipermail/legacy/attachments/20031003/f1742720/attachment.txt>


More information about the Legacy mailing list