From owner-freebsd-questions Sat Jul 24 6:53:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id B5D3C150BD for ; Sat, 24 Jul 1999 06:53:24 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Sat, 24 Jul 1999 09:53:13 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105ACE@site2s1> From: Christopher Michaels To: "'agifford@infowest.com'" , questions@freebsd.org, yurtesen@ispro.net.tr Subject: RE: how can I find out which process is binded to which port? Date: Sat, 24 Jul 1999 09:55:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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