Re: [PATCH v4 1/1] ip-link: add switch to show human readable output
From: Christian Hesse <hidden>
Date: 2014-11-03 06:53:25
Attachments
- (unnamed) [application/pgp-signature] 819 bytes
From: Christian Hesse <hidden>
Date: 2014-11-03 06:53:25
Stephen Hemminger [off-list ref] on Sun, 2014/11/02 12:51:
On Fri, 31 Oct 2014 22:33:13 +0100 Christian Hesse [off-list ref] wrote:quoted
Byte and packet count can increase to really big numbers. This adds a switch to show human readable output. 4: wl: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 00:de:ad:be:ee:ef brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 1523846973 3969051 0 0 0 0 TX: bytes packets errors dropped carrier collsns 8710088361 6077735 0 0 0 0 4: wl: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 00:de:ad:be:ee:ef brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 1.5G 3.9M 0 0 0 0 TX: bytes packets errors dropped carrier collsns 8.7G 6.0M 0 0 0 0Applied, then I did a code cleanup and added -iec as a option (similar to tc).
I would have come up with something similar later. ;) Thanks a lot! I am perfectly happy now and can live without ifconfig in the future. -- Best regards, Christian Hesse