netstat -i output
gunhu opened this issue · comments
Hi everyone,
I wanted to point out something on netstat -i
output:
$ netstat -i
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
lo 65536 2 0 0 0 2 0 0 0 LRU
When I'm debugging network issues I want to have all information about a network card.
I mean all relevant timers to see if something wrong is going on.
I don't see any RX-FRAME or TX-FRAME field, I need to add -e
option.
Can I make a PR to have an output like this:
$ netstat -i
Kernel Interface table
Iface MTU RX-OK RX-ERR RX-DRP RX-FRAME RX-OVR TX-OK TX-ERR TX-DRP TX-FRAME TX-OVR Flg
lo 65536 2 0 0 0 0 2 0 0 0 0 LRU
Thanks for your kind advice about it.
Regards,
Hello Bernd,
I will add a new option (PR) to not break backward compability (with scripts).
Man page(s) will be updated accordingly.
Is it fine with you ?
Regards,
I came with a new idea.
Add CRC / Frame errors to RX counter.
No breaking change in the output.
Regards,
Thanks, adding the numbers actually looks like a good compromise. Will have to make sure to document that in manpage and release notes.
Do you want me to clarify this on the man page ?
Regards,
It would be great if you could. Can you also squash your commits, so its a single one with the sum (of the right fields) and the man adoption.
Hi Bernd,
I added manpage details on my PR.
I'm only French native speaker and I can write/speak English too.
Feel free to review German and Portuguese part if it's not correct.
Regards,