Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!ucbvax!marc From: marc@ucbvax.BERKELEY.EDU (Marc Teitelbaum) Newsgroups: comp.unix.wizards Subject: Re: What processes are on the ends of a TCP connection? Message-ID: <28418@ucbvax.BERKELEY.EDU> Date: 16 Mar 89 09:34:45 GMT References: <190@heart-of-goldmitre.org> <763@mtxinu.UUCP> Reply-To: marc@okeeffe.Berkeley.EDU.UUCP (Marc Teitelbaum) Organization: CSRG, UC Berkeley Lines: 15 We have a new utility which displays the per process open file tables. If the file is a TCP socket, it prints the address of the tcpcb (exactly what netstat -A prints - this is no accident). Finding the associated process(s) is simply a matter of noting the address from netstat -A and doing a "fstat | grep (address)". Unless I'm mistaken, fstat(1) was shipped in 4.3-tahoe, and will be present in the next release. Marc ------------------------------- Marc Teitelbaum +1-415-643-6448 457 Evans Hall Computer Systems Research Group, CSRG / DEC University of California Berkeley, CA 94720