Bug 162587 - unclear/incomplete description of per-interface statistics flag in netstat(1)
Summary: unclear/incomplete description of per-interface statistics flag in netstat(1)
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 15:40 UTC by vince
Modified: 2018-04-11 20:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vince 2011-11-15 15:40:07 UTC
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.

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.
How-To-Repeat: [root@zfstest ~]# netstat -i -s -f inet
[root@zfstest ~]#
Comment 1 Glen Barber freebsd_committer 2011-11-15 16:32:47 UTC
Class Changed
From-To: sw-bug->doc-bug
Comment 2 Glen Barber freebsd_committer 2011-11-15 16:32:47 UTC
Responsible Changed
From-To: freebsd-bugs->gjb

I'll take it.
Comment 3 Glen Barber freebsd_committer 2012-07-22 18:01:01 UTC
Responsible Changed
From-To: gjb->freebsd-doc

Back to the pool for now, as I have not been able to make progress 
on this.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:22 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped