Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2022 13:58:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265167] netstat on Linux has a flag to find the program that does portbinding, FreeBSD does not
Message-ID:  <bug-265167-227-TkY3gXrCcl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265167-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265167-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265167

--- Comment #3 from Maxim Konovalov <maxim@FreeBSD.org> ---
Michael,

>From what I see on my Ubuntu test box netstat there shows a process name (n=
ot a
binary name), e.g.:

# netstat -pan | grep 6666
tcp        0      0 0.0.0.0:6666            0.0.0.0:*               LISTEN=
=20=20=20=20=20
8959/nc

This is more or less close to what sockstat(1) provides on FreeBSD:

$ sockstat | grep 6666
maxim    nc         96053 3  tcp4   *:6666                *:*

I am not sure I understand fully what is missed in sockstat(1).

Thanks,

Maxim

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265167-227-TkY3gXrCcl>