[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-bugs
Subject: bin/190281: netstat -s -i only shows ip6 statistics
From: Allan Jude <allanjude () freebsd ! org>
Date: 2014-05-26 20:28:00
Message-ID: 201405262028.s4QKS0Y0058568 () cgiserv ! freebsd ! org
[Download RAW message or body]
> 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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic