From owner-svn-src-head@FreeBSD.ORG Sun May 25 07:41:12 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E28F6F72; Sun, 25 May 2014 07:41:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF5D5275A; Sun, 25 May 2014 07:41:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4P7fC0q095926; Sun, 25 May 2014 07:41:12 GMT (envelope-from allanjude@svn.freebsd.org) Received: (from allanjude@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4P7fCvh095925; Sun, 25 May 2014 07:41:12 GMT (envelope-from allanjude@svn.freebsd.org) Message-Id: <201405250741.s4P7fCvh095925@svn.freebsd.org> From: Allan Jude Date: Sun, 25 May 2014 07:41:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266645 - head/usr.bin/netstat X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 07:41:13 -0000 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