On Thursday 07 of May 2015 18:01:42 Andreas Schwab wrote:
Michal Kubecek <mkubecek@suse.cz> writes:
On Thursday 07 of May 2015 17:48:27 Per Jessen wrote:
Michal Kubecek wrote:
Recent versions also support "ip -s addr show" so you can have both addresses and statistics at once.
Must be more like brand new versions - I don't get any stats when I tried it on 13.2.
Just checked the git: should be there since iproute2 3.17.
Only ip li, not ip ad.
"ip -s link show" works since "forever". Since iproute2 3.17, "ip -s addr show" works as well: unicorn:~ # rpm -q iproute2 iproute2-3.19-108.1.x86_64 unicorn:~ # ip -s addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever RX: bytes packets errors dropped overrun mcast 71282 689 0 0 0 0 TX: bytes packets errors dropped carrier collsns 71282 689 0 0 0 0 ... Added by commit 5d5cf1b43706 ("ip address: print stats with -s") Michal Kubecek -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org