Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!atha!cbmvax!grr From: grr@cbmvax.commodore.com (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: LAT monitor on ultrix Message-ID: <12773@cbmvax.commodore.com> Date: 17 Jun 90 00:03:49 GMT References: <598@tron.UUCP> Reply-To: grr@cbmvax (George Robbins) Organization: Commodore, West Chester, PA Lines: 19 In article <598@tron.UUCP> carson@tron.bwi.wec.com (Dana Carson) writes: > Does anybody have a program that will monitor what connections are being > made by the LAT/telnet gateway. Or a program that will log all outgoing > telent connections. We want to make sure that the gateways are in the > right buildings. I don't have a program, but the "lcp -p {/dev/tty..}" command does return the server and port associated with an open lat connection. You could write a little shell script that does this for each lat device which is activated from crontab periodically, then sort/sumarize the results. The same information can apparently be obtained using the LIOCTTY ioctl() call, but documentation seems sparse beyond for the corresponding data structure in the /usr/include/sys/lta.h header file. -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing: domain: grr@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)