Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!rutgers!maverick.ksu.ksu.edu!maverick.ksu.ksu.edu!brtmac From: brtmac@maverick.ksu.ksu.edu (Brett McCoy) Newsgroups: comp.unix.internals Subject: finding what processes owns a socket Message-ID: <1990Nov30.150350.10483@maverick.ksu.ksu.edu> Date: 30 Nov 90 15:03:50 GMT Sender: news@maverick.ksu.ksu.edu (The News Guru) Organization: Kansas State University Lines: 14 I need to find what processes owns a given socket. Specificially, given the output from netstat how do I find what processes owns each of the sockets shown. I am running SunOS 4.0.3. Pointers to the correct kernal structures and header files would be good. Actual code would be great. Thanx in advance. -- When an eel bites your leg, and the pain makes you beg, that's a moray! If I spent as much time on my classes as I do reading news, I'd graduate. Brett McCoy Computing and Telecommunications Activities brtmac@maverick.ksu.ksu.edu Kansas State University