netstat -p (along with -t, -u, ...) will list the PID associated with
the socket.

Rodent of Unusual Size wrote:
> 
> Argh..  I used to know this (I think), but now I've forgotten..
> 
> How can I turn a port number from netstat's output into a PID?
> I want to find out what non-obvious thing is listening on a
> particular port..
> --
> #ken    P-)}
> 
> Ken Coar                    <http://Golux.Com/coar/>
> Apache Software Foundation  <http://www.apache.org/>
> "Apache Server for Dummies" <http://Apache-Server.Com/>
> "Apache Server Unleashed"   <http://ApacheUnleashed.Com/>
> 
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to