From owner-freebsd-questions Thu Feb 1 11:27: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from arianna.webcraft99.alt (unknown [202.151.192.113]) by hub.freebsd.org (Postfix) with ESMTP id 1AF2E37B67D for ; Thu, 1 Feb 2001 11:26:48 -0800 (PST) Received: from jenna.webcraft99.alt (jenna.webcraft99.alt [192.168.1.22]) by arianna.webcraft99.alt (AriAnnA) with ESMTP id D92637DC6 for ; Fri, 2 Feb 2001 03:51:53 +0800 (MYT) Received: from webcraft99.com (lexus.webcraft99.alt [192.168.1.31]) by jenna.webcraft99.alt (JEnnA) with ESMTP id 58DBB3DCA for ; Fri, 2 Feb 2001 03:31:27 +0800 (MYT) Message-ID: <3A79B98F.AB3E4E95@webcraft99.com> Date: Fri, 02 Feb 2001 03:31:27 +0800 From: Feisal Umar Reply-To: aeefyu@webcraft99.com Organization: Webcraft Sdn Bhd (http://www.webcraft99.com) X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: netstat questions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, the following is an excerpt of "netstat -a" on my FreeBSD-4.2 box. How do I find out what/which program is "listening" on what ports from the outputs of netstat. (Basically I'm interested to figure out what is listening on port udp:20089 below). But would be useful for other purposes next time, I suppose udp4 0 0 *.3130 *.* udp4 0 0 *.20089 *.* udp4 0 0 *.domain *.* udp4 0 0 localhost.domain *.* Unless I'm mistaken, in Linux, the command was "netstat -arn" ( I don't have a Linux box on hand now to verify, but it would show netstat outputs with a colum matching the listening process/daemon). Any such thing or equivalents on FreeBSD? Thank you in advance. -- Feisal Umar Webcraft Sdn Bhd - http://www.webcraft99.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message