Linux: Script That Creates Table of Network Interface Properties

August 15, 2013 Category: Networking

My server has 5 network interfaces and I wanted a quick overview of some properties. There may be an existing linux command for this but I couldn't find it so I quickly wrote my own script (download).

This is the output:

showinterfacesimage

The only requirement for this script is that you have 'ethtool' installed.

Update 2013-08-17

I recreated the script in python (download) so I can just dynamically format the table and not use ugly hacks I used in the bash script.

Comments