[Bug 265167] netstat on Linux has a flag to find the program that does portbinding, FreeBSD does not

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Jul 2022 13:58:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265167

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

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

# netstat -pan | grep 6666
tcp        0      0 0.0.0.0:6666            0.0.0.0:*               LISTEN     
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

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