Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 1999 09:55:03 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        "'agifford@infowest.com'" <agifford@infowest.com>, questions@freebsd.org, yurtesen@ispro.net.tr
Subject:   RE: how can I find out which process is binded to which port?
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105ACE@site2s1>

next in thread | raw e-mail | index | archive | help
Also, as was explained to me last time I answered this question.  If you're
running 3.x you could use "sockstat".

-Chris

> -----Original Message-----
> From:	Aaron D. Gifford [SMTP:agifford@infowest.com]
> Sent:	Thursday, July 22, 1999 5:10 PM
> To:	questions@freebsd.org; yurtesen@ispro.net.tr
> Subject:	Re: how can I find out which process is binded to which
> port?
> 
> Evren Yurtesen <yurtesen@ispro.net.tr> wrote:
> >
> >I would like to know the PID of the process which is binded to a port,
> >I am just able to see which ports are listening for incoming connections
> >
> >with that command
> >
> >Alejandro Ramirez wrote:
> >
> 
> Try lsof - it's in the ports collection (/usr/ports/sysutils/lsof) and
> is EXTREMELY useful in showing all open files, sockets, IP connections,
> etc. processes have open and are using.
> 
> Aaron out.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105ACE>