Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2001 10:33:24 -0900
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        aeefyu@webcraft99.com, Feisal Umar <afu@webcraft99.com>, freebsd-questions@freebsd.org
Subject:   Re: netstat questions
Message-ID:  <01020110332401.03031@galaxy.anchoragerescue.org>
In-Reply-To: <3A79B98F.AB3E4E95@webcraft99.com>
References:  <3A79B98F.AB3E4E95@webcraft99.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 01 February 2001 10:31, Feisal Umar wrote:
> 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.

I believe what you are looking for is the command "sockstat"

type man sockstat for an overview.

Beech


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?01020110332401.03031>