From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 15 15:40:07 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E364C1065674 for ; Tue, 15 Nov 2011 15:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A69668FC12 for ; Tue, 15 Nov 2011 15:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pAFFe7AS006616 for ; Tue, 15 Nov 2011 15:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pAFFe7R0006615; Tue, 15 Nov 2011 15:40:07 GMT (envelope-from gnats) Resent-Date: Tue, 15 Nov 2011 15:40:07 GMT Resent-Message-Id: <201111151540.pAFFe7R0006615@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vincent Hoffman-Kazlauskas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D48F1065674 for ; Tue, 15 Nov 2011 15:31:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1CAE28FC16 for ; Tue, 15 Nov 2011 15:31:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAFFVk0P045999 for ; Tue, 15 Nov 2011 15:31:46 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pAFFVkoW045998; Tue, 15 Nov 2011 15:31:46 GMT (envelope-from nobody) Message-Id: <201111151531.pAFFVkoW045998@red.freebsd.org> Date: Tue, 15 Nov 2011 15:31:46 GMT From: Vincent Hoffman-Kazlauskas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/162587: unclear/incomplete description of per-interface statistics flag in netstat(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2011 15:40:08 -0000 >Number: 162587 >Category: misc >Synopsis: unclear/incomplete description of per-interface statistics flag in netstat(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 15 15:40:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Vincent Hoffman-Kazlauskas >Release: 9.0-RC2 >Organization: >Environment: FreeBSD zfstest 9.0-RC2 FreeBSD 9.0-RC2 #1 r227515:227516M: Mon Nov 14 23:15:40 GMT 2011 root@zfstest:/usr/obj/usr/src/sys/ZFSTEST amd64 >Description: netstat(1) contains the following: netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] Display per-interface statistics for each network protocol, for a particular protocol_family, or for a single protocol. however IPv4 (and maybe more, I dont know or how to find out,) does not support per interface statistics. >How-To-Repeat: [root@zfstest ~]# netstat -i -s -f inet [root@zfstest ~]# >Fix: possibly reword to something like. netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] Display per-interface statistics for each network protocol, for a particular protocol_family, or for a single protocol. Currently this is only supported for inet6. Otherwise maybe exclude rather than include, it depends what is supported as leaving off the -f protocol_family only displays ip6 and icmp6 for me, but I dont use or know much about pfkey atalk netgraph or ipx, so i cant test them easily. >Release-Note: >Audit-Trail: >Unformatted: