Linux Network Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 70: Line 70:
For more on OpenManage see:
For more on OpenManage see:


{{Internal|Dell OpenManage Server Administrator|Dell OpenManage Server Administrator]]
{{Internal|Dell OpenManage Server Administrator|Dell OpenManage Server Administrator}}


=Hostname=
=Hostname=

Revision as of 03:27, 8 May 2017

Internal

Network Interfaces

ip

To see all network interfaces present on the system: Linux ip#Show_All_Network_Interfaces_and_Their_Details.

To see details about a specific network interface: Linux ip#Show_Details_for_a_Specific_Network_Interface.

For more details see ip.

ifconfig

Performance Characteristics

Go to /sys/class/net/eth0/

Then:

cat speed

Performance characteristics can also be obtained with:

ethtool

Vendor

lspci | grep -i Ethernet

More about

lspci

Driver Information

Using dmesg and modinfo

Grep the dmesg messages for "Ethernet" to figure out the name of the network driver:

dmesg | grep -i ethernet
[    2.304678] tg3 0000:02:00.0 eth0: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
...

The name of the driver loaded in the kernel is "tg3".

To


Using ethtool

lshw

Using OpenManage UI on Dell Servers

System -> Main System Chassis -> Network -> Click on interface -> Driver Name/Driver Version.

For more on OpenManage see:

Dell OpenManage Server Administrator

Hostname

Getting the Hostname

iftop

iftop