Date: Sun, 25 May 2014 07:41:12 +0000 (UTC) From: Allan Jude <allanjude@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266645 - head/usr.bin/netstat Message-ID: <201405250741.s4P7fCvh095925@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: allanjude (doc committer) Date: Sun May 25 07:41:12 2014 New Revision: 266645 URL: http://svnweb.freebsd.org/changeset/base/266645 Log: 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) Modified: head/usr.bin/netstat/netstat.1 Modified: head/usr.bin/netstat/netstat.1 ============================================================================== --- head/usr.bin/netstat/netstat.1 Sun May 25 06:42:43 2014 (r266644) +++ head/usr.bin/netstat/netstat.1 Sun May 25 07:41:12 2014 (r266645) @@ -45,7 +45,7 @@ depending on the options for the informa .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405250741.s4P7fCvh095925>