Create a Post
Showing results for 
Search instead for 
Did you mean: 
Jump to solution

One-liner for duplex settings summary

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.

9 Replies
This widget could not be displayed.