summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2014-05-25 07:41:12 +0000
committerallanjude <allanjude@FreeBSD.org>2014-05-25 07:41:12 +0000
commitbe335fb10474f951977de478c02b01e36c1562d7 (patch)
tree1925ed7933b182770b6276279bb44d36b198a69a /usr.bin/netstat
parent1dc28f645306b04421f245962a4104822f51f6fe (diff)
downloadFreeBSD-src-be335fb10474f951977de478c02b01e36c1562d7.zip
FreeBSD-src-be335fb10474f951977de478c02b01e36c1562d7.tar.gz
Document the new -R flag of netstat(1) introduced in r266448 that tracks the
flowid for each socket. Reviewed by: adrian Approved by: eadler (mentor)
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/netstat.110
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 67095d6..1555f62 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -45,7 +45,7 @@ depending on the options for the information presented.
.It Xo
.Bk -words
.Nm
-.Op Fl 46AaLnSTWx
+.Op Fl 46AaLnSTWxR
.Op Fl f Ar protocol_family | Fl p Ar protocol
.Op Fl M Ar core
.Op Fl N Ar system
@@ -84,6 +84,9 @@ but show ports symbolically.
If
.Fl x
is present, display socket buffer and tcp timer statistics for each internet socket.
+If
+.Fl R
+is present, display the flowid and flowtype for each internet socket.
When
.Fl T
is present, display information from the TCP control block, including
@@ -367,6 +370,11 @@ and display them symbolically.
.It Fl W
In certain displays, avoid truncating addresses even if this causes
some fields to overflow.
+.It Fl R
+Display the flowid and flowtype for each socket.
+flowid is a 32 bit hardware specific identifier for each flow.
+flowtype defines which protocol fields are hashed to produce the id.
+A complete listing is available in sys/mbuf.h under M_HASHTYPE_*
.El
.Pp
The default display, for active sockets, shows the local
OpenPOWER on IntegriCloud