Bug 1060195
Summary: | Lack of 64-Bit Counters in /sbin/ip -s link show | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Ted Rule <ejtr> | ||||||
Component: | iproute | Assignee: | Pavel Šimerda (pavlix) <psimerda> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Jaroslav Aster <jaster> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.5 | CC: | jaster, knoha, psimerda, thozza, tnagata | ||||||
Target Milestone: | rc | Keywords: | Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | iproute-2.6.32-38.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: |
The /sbin/ip file displayed statistics for 32-bit system even on 64-bit kernel. To fix this bug, a patch has been applied, and the statistics are now presented correctly.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-07-22 06:40:53 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Ted Rule
2014-01-31 12:37:40 UTC
Created attachment 967374 [details]
patch
Hi, there is a mistake in printing rx/tx stats, the number is correct. # # rpm -q iproute iproute-2.6.32-37.el6.x86_64 # ip -s l show dev lo 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 RX: bytes packets errors dropped overrun mcast 412714401141825064980 0 0 0 TX: bytes packets errors dropped carrier collsns 412714401141825064980 0 0 0 # ifconfig lo lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:182506498 errors:0 dropped:0 overruns:0 frame:0 TX packets:182506498 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:41271440114 (38.4 GiB) TX bytes:41271440114 (38.4 GiB) You can see that there are no spaces between rx/tx bytes, packages and errors, so there is one number instead of three numbers. Created attachment 993889 [details]
patch
Also backported the print_num() function that is used in the code.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1331.html |