SUMMARY: Locating process that opens a TCP or UDP listener

From: Ken Rossman <>
Date: Thu Jan 20 2005 - 09:05:18 EST
Thank you all for the immediate and volumunous responses I got to this
my question about locating the PID owning a given network port.

The near-unanimous response was to use 'lsof', or more specifically:

   # lsof -i TCP:<port#>

(or some variation of the above)

Now I just need to find a way to compile a 32-bit SPARC version of lsof
to run on an early Ultra-1 that refuses to run the 64-bit kernel... :-)

Thanks to all,
Ken Rossman
sunmanagers mailing list
Received on Thu Jan 20 09:05:41 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:42 EST