Created attachment 158798 [details] patch new feature - show field with tcp states patch written by: Dag-Erling Smørgrav patch tested by: Vladimir Laskov netstat show tcp states, but do not show process name
A commit references this bug: Author: des Date: Thu Jul 16 13:09:23 UTC 2015 New revision: 285630 URL: https://svnweb.freebsd.org/changeset/base/285630 Log: Add a -s option which adds a column listing the connection state if applicable (currently only for TCP). PR: 201585 MFC after: 3 weeks Changes: head/usr.bin/sockstat/sockstat.1 head/usr.bin/sockstat/sockstat.c
A commit references this bug: Author: des Date: Fri Jul 17 08:37:14 UTC 2015 New revision: 285651 URL: https://svnweb.freebsd.org/changeset/base/285651 Log: Move assignments around to avoid a false-positive uninitialized variable warning which broke the sparc64 build. PR: 201585 MFC after: 3 weeks Changes: head/usr.bin/sockstat/sockstat.c
A commit references this bug: Author: tuexen Date: Wed Aug 26 22:50:53 UTC 2015 New revision: 287178 URL: https://svnweb.freebsd.org/changeset/base/287178 Log: Print the status on the first line of a socket description, not at the last one. This doesn't matter for TCP, but it does for the upcoming SCTP support. PR: 201585 MFC after: 3 weeks Changes: head/usr.bin/sockstat/sockstat.c
A commit references this bug: Author: tuexen Date: Wed Aug 26 22:52:19 UTC 2015 New revision: 287179 URL: https://svnweb.freebsd.org/changeset/base/287179 Log: Remove a variable which is set but never used. PR: 201585 MFC after: 3 weeks Changes: head/usr.bin/sockstat/sockstat.c
A commit references this bug: Author: tuexen Date: Wed Aug 26 23:45:07 UTC 2015 New revision: 287182 URL: https://svnweb.freebsd.org/changeset/base/287182 Log: Add SCTP support. PR: 201585 MFC after: 3 weeks Changes: head/usr.bin/sockstat/sockstat.1 head/usr.bin/sockstat/sockstat.c
A commit references this bug: Author: tuexen Date: Sat Aug 29 09:10:53 UTC 2015 New revision: 287281 URL: https://svnweb.freebsd.org/changeset/base/287281 Log: Report CLOSED as state for bound sockets for consistency with netstat and the way TCP is handled. PR: 201585 MFC after: 3 weeks Changes: head/usr.bin/sockstat/sockstat.c
batch change of PRs untouched in 2018 marked "in progress" back to open.