As a side note, does anyone know how to close off port 6000 (used by X),
to be turned on only when needed?  I try and keep only the ports I use
open, and I don't use the x server for remote hosts, which is what I
assume this port to be used for.

Thanks in advance.

Warren

Bruce Dawson wrote:

> 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
> **********************************************************

--
Warren Mansur
email: [EMAIL PROTECTED]
phone: 603-884-5435




**********************************************************
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