|
Bugzilla – Full Text Bug Listing |
| Summary: | netstat --interface=iface doesn't work | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Tony Jones <tonyj> |
| Component: | Network | Assignee: | Mads Martin Joergensen <mmj> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
the man pages are borked It would be nice if the interface=xxx option could be made to work (for all usage cases of netstat). As an example, to limit the output of "Internet Connections" to a particular interface rather than all (netstat --interface=xxx, netstat -a --interface=xxx) Plus of course clean up the inconsistencies in the manpage. ak did you have anything to do with that? :) man page is fixed. The other thing is a feature request which can be achieved just as well with grep. |
1) netstat man page is confused about '--interface" vs "--interfaces" From manpage: netstat {--interfaces|-i} [iface] later: --interface=iface , -i 2) no variant of --interface=iface or --interfaces=iface works, all generate a usage error. dhcp-83:~ # netstat --interfaces=eth0 netstat: option `--interfaces' doesn't allow an argument dhcp-83:~ # netstat --interface=eth0 netstat: option `--interfaces' doesn't allow an argument Skipping the = emits all interfaces which is not correct dhcp-83:~ # netstat --interface eth0 Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 125530 11 0 0 2289 0 0 0 BMNRU lo 16436 0 238 0 0 0 238 0 0 0 LRU Problem exists in 9.3 also.