:: Re: [DNG] ifconfig deprecated?
Góra strony
Delete this message
Reply to this message
Autor: Martin Steigerwald
Data:  
Dla: dng
Temat: Re: [DNG] ifconfig deprecated?
Adam Borowski - 22.11.17, 11:06:
> On Wed, Nov 22, 2017 at 10:45:12AM +0100, Martin Steigerwald wrote:
> > For that I do not know a ip command out of the box. But
> >
> > merkaba:~> netstat -i
> > Kernel-Schnittstellentabelle
> > Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR
> > Flg eth0      1500  6190114      0      0 0       2742172      0      0  
> >    0 BMRU
> > lo       65536   334759      0      0 0        334759      0      0      0
> > LRU
> Except that netstat is another part of the sinking ship.


Yeah, I just noticed that after sending this mail :)

> The vast majority of netstat's functionality is in ss, usually even with
> identical set of arguments, but as "netstat -i" shows information about
> interfaces not sockets, it doesn't belong there.
>
> You want "ip -s a", I'm too lazy to see if you can get just the counters.


That was it. I knew there was something like it.

Thank you,
--
Martin