Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!uunet!bcstec!sleepy!allyn From: allyn@sleepy.UUCP (Mark Allyn) Newsgroups: comp.unix.questions Subject: identifying processes that own sockets Keywords: sockets processes Message-ID: <167@sleepy.UUCP> Date: 22 Apr 91 16:47:12 GMT Organization: Boeing Computer Services, Seattle Lines: 11 The netstat command shows the prototype, local address, and foreign address for each active internet connection. I would like to be able to identify the process that own the socket for a particular internet connection. Using the netstat -A gives the address of the protocol family for a socket. Is there any way (using iostat, pstat, or anything else) that I can correlate a particular socket to a particular process id?? Thanks!