Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Apr 26, 2017 at 01:50:15PM +0100, Darac Marjal wrote:
> On Wed, Apr 26, 2017 at 08:35:44AM -0400, Greg Wooledge wrote:
> >On Wed, Apr 26, 2017 at 01:25:18PM +0100, Darac Marjal wrote:
> >>For interface statistics from ip, try "ip -s link [interface]".
> >
> >On stretch:
> >
> >wooledg:~$ ip -s link eth0
> >Command "eth0" is unknown, try "ip link help".
> >
> >wooledg:~$ ip -s link dev eth0
> >Command "dev" is unknown, try "ip link help".
> >
> >wooledg:~$ ip link help
> >[... enormous BNF dump, entirely missing -s, or any reference whatsoever
> > to the fact that you can stick options between "ip" and "link" ...]
> >
> >wooledg:~$ ip -s link show eth0
> >2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
> > link/ether a0:8c:fd:c3:89:e0 brd ff:ff:ff:ff:ff:ff
> > RX: bytes packets errors dropped overrun mcast
> > 380719013 1442490 0 0 0 4731
> > TX: bytes packets errors dropped carrier collsns
> > 57971257 614586 0 0 0 0
> >
> >Aha!
>
> My bad [...]
I'd say "ip's bad"
> ip *could* do a lot better [...]
That's why I end up (after re-trying ip for a short while) installing
net-tools. Every single time.
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlkAohkACgkQBcgs9XrR2kYaPwCfZXHlL7f7pCcRZjLYHPHumCmu
0aMAnRjNW482CD5j5LKehIaR8VgM6N46
=1vqx
-----END PGP SIGNATURE-----
Reply to: