SUMMARY: Locating process that opens a TCP or UDP listener

From: Ken Rossman (rossman@columbia.edu)
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
rossman@columbia.edu
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:02 EDT