]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip-link: add switch to show human readable output
authorChristian Hesse <mail@eworm.de>
Fri, 31 Oct 2014 21:33:13 +0000 (22:33 +0100)
committerStephen Hemminger <shemming@brocade.com>
Sun, 2 Nov 2014 19:53:29 +0000 (11:53 -0800)
commitb68d983754bcf781caa9fac454cff674775a2c35
tree8b94a2835a2974d5dab034525a771608573d0d77
parenta0638e18b28e92e7bc62416bd3e6247ed123e0fa
ip-link: add switch to show human readable output

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       0
include/utils.h
ip/ip.c
ip/ipaddress.c
man/man8/ip-link.8.in