From owner-freebsd-questions Thu Jul 22 14:12:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from infowest.com (ns1.infowest.com [204.17.177.10]) by hub.freebsd.org (Postfix) with ESMTP id 6F43515623 for ; Thu, 22 Jul 1999 14:12:33 -0700 (PDT) (envelope-from root@infowest.com) Received: by infowest.com (Postfix, from userid 0) id 0A8DC20F10; Thu, 22 Jul 1999 15:10:04 -0600 (MDT) To: questions@freebsd.org, yurtesen@ispro.net.tr, Subject: Re: how can I find out which process is binded to which port? Reply-To: From: "Aaron D. Gifford" Message-Id: <19990722211004.0A8DC20F10@infowest.com> Date: Thu, 22 Jul 1999 15:10:04 -0600 (MDT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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