SUMMARY: Locating process that opens a TCP or UDP listener

Ken Rossman rossman at columbia.edu
Thu Jan 20 09:05:18 EST 2005


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
rossman at columbia.edu
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



More information about the summaries mailing list