AnsweredAssumed Answered

One-liner for duplex settings summary

Question asked by Danny Jung Champion on Oct 5, 2017
Latest reply on Oct 24, 2017 by Yuri Slobodyanyuk

Hello CheckMates,

 

I'm looking for a One-liner that provides a nice summary about the duplex settings and interface driver (vendor) of every network port in a system. I offer a Thank You badge worth 500 points in rewards.

 

cpstat os -f ifconfig already provides a nice summary of interface statistics, though missing duplex settings and interface drivers to identify if it's an Intel or a Broadcom or other interface type.

Yuri Slobodyanyuk was creating something that goes into the right direction, but his one-liner is based on ifconfig, so it doesn't show any disabled interfaces. /etc/sysconfig/hwconf or the cpstat command shown above might be a better start to get all the interfaces within a system.

 

I'm looking forward to your entries. The one-liner that provides the best result wins.

Outcomes