Date: Mon, 26 May 2014 20:28:00 GMT From: Allan Jude <allanjude@freebsd.org> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/190281: netstat -s -i only shows ip6 statistics Message-ID: <201405262028.s4QKS0Y0058568@cgiserv.freebsd.org> Resent-Message-ID: <201405262030.s4QKU1cv075784@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190281 >Category: bin >Synopsis: netstat -s -i only shows ip6 statistics >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: Mon May 26 20:30:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Allan Jude >Release: 11-CURRENT >Organization: ScaleEngine Inc. >Environment: FreeBSD Nexus.HML3.ScaleEngine.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r264302M: Wed Apr 9 17:39:15 UTC 2014 root@Nexus.HML3.ScaleEngine.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 'netstat -s -i' should show protocol statistics per interface. However it only shows ip6 statistics 'netstat -s' works as intended (shows the sum of each statistic, both ipv4 and ipv6, for all interfaces) 'netstat -s -4' works as intended (shows system-wide ipv4 statistics) 'netstat -s -i -4' returns nothing Note 'netstat -s -s' suppresses 0 values #netstat -s | wc -l 348 #netstat -s -s | wc -l 120 #netstat -s -s -i | wc -l 18 #netstat -s -s -I igb0 | wc -l 6 #netstat -s -s -i -4 | wc -l 0 'netstat -s -s -i' should return the same more more lines than 'netstat -s -s', since it will break the statistics down per-interface >How-To-Repeat: netstat -s -i -4 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405262028.s4QKS0Y0058568>