Bug 64862
Summary: | RHEL 2.1/IPF/QU3: -c option to netstat(1) repeatedly prints headings (not I/F stats) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Glen A. Foster <glen.foster> | ||||
Component: | net-tools | Assignee: | Phil Knirsch <pknirsch> | ||||
Status: | CLOSED ERRATA | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2.1 | CC: | jlaska, nthomas, rvokal, scott_edlund, tao, ulf | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-12-19 14:46:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 73750, 107565 | ||||||
Attachments: |
|
Description
Glen A. Foster
2002-05-13 18:00:09 UTC
Created attachment 72072 [details]
patch that fixes this bug
*** Bug 73750 has been marked as a duplicate of this bug. *** This defect still exists in Phoebe (version 2) public beta. *** Bug 83728 has been marked as a duplicate of this bug. *** Fixed in latest net-tools version. Now every 8 outputs the header is printed again and a delay option has been added, too. Read ya, Phil Can we get an errata update posted on the RHN server for IA64 as well? OK, package updated and built and opened a RHEL AS 2.1 errata for it. Please make sure it gets added to the AS2.1 QU3 update. Read ya, Phil ISSUE TRACKER 21400 opened as sev 2 Fix verified in an early cut of an ia64-based distribution. This defect is also in AS2.1 QU2 errata for IA64 -- really hoping it gets fixed for QU3 (per Phil). Phil requests this be fixed in QU3 errata. Blocking BUG... Errata, not Taroon. Sorry. Phils patch seems broken on machines with interface aliases: Here is output from RH9 machine. Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 051723645 0 0 064367877 0 0 0 BMRU eth0:1 1500 0 9292193 0 0 142 8149663 0 0 0 BMRU eth1 1500 0 9292193 0 0 142 8149663 0 0 0 BMRU lo 16436 0 34498 0 0 0 34498 0 0 0 LRU eth0 1500 051723645 0 0 064367877 0 0 0 BMRU eth0:1 1500 0 9292194 0 0 142 8149663 0 0 0 BMRU eth1 1500 0 9292194 0 0 142 8149663 0 0 0 BMRU lo 16436 0 34498 0 0 0 34498 0 0 0 LRU eth0 1500 051723668 0 0 064367889 0 0 0 BMRU eth0:1 1500 0 9292194 0 0 142 8149663 0 0 0 BMRU eth1 1500 0 9292194 0 0 142 8149663 0 0 0 BMRU lo 16436 0 34498 0 0 0 34498 0 0 0 LRU eth0 1500 051723668 0 0 064367889 0 0 0 BMRU eth0:1 1500 0 9292222 0 0 142 8149694 0 0 0 BMRU eth1 1500 0 9292222 0 0 142 8149694 0 0 0 BMRU Notice data from eth0:1 and eth1 as being the same. This is incorrect. Also, it should print the header every x times, print the totals for each interface then print the deltas of each other ( ala solaris, hpux, aix ) like in the patch that I provided. In addition to the above mentioned issue, "netstat -c -i eth0" or even "netstat -i eth0" isn't working either, it prints out all interfaces: dbprod-01 ulf /home/ulf > netstat -c -i 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 014891764 0 0 0 9722602 0 0 0 BMRU eth1 1500 036690252 0 0 044376013 0 0 0 BMRU lo 16436 0 2373810 0 0 0 2373810 0 0 0 LRU Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg dbprod-01 ulf /home/ulf > netstat -c --interfaces 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 014892105 0 0 0 9722900 0 0 0 BMRU eth1 1500 036691214 0 0 044376848 0 0 0 BMRU lo 16436 0 2373902 0 0 0 2373902 0 0 0 LRU Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg WAS MUSTFIX for Update3, but HP-IPF reduced to SHOULDFIX. Changing blocker to correct bug. The -i option hasn't been working for a long time and was also wrongly documented in the manpages. I've been working on a fix for that but unfortunately that won't make it in U3. I've already scheduled another net-tools update for U4 which will then include a fix for the interface alias problem as well as for the -i option. Thanks, Read ya, Phil *** Bug 110590 has been marked as a duplicate of this bug. *** An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2003-164.html |