Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Feb 2001 03:31:27 +0800
From:      Feisal Umar <afu@webcraft99.com>
To:        freebsd-questions@freebsd.org
Subject:   netstat questions
Message-ID:  <3A79B98F.AB3E4E95@webcraft99.com>

next in thread | raw e-mail | index | archive | help
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




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