Skip to content

Neat console commands

Will edited this page Apr 15, 2024 · 2 revisions

Network

  • For nics that support it, blink the port:
    # ethtool --identify <iface>
    
  • Link iface name to pci id:
    # lshw -c network -businfo
    Bus info          Device     Class          Description
    =======================================================
    pci@0000:03:00.0  eno1       network        I350 Gigabit Network Connection
    pci@0000:03:00.1  eno2       network        I350 Gigabit Network Connection
    pci@0000:03:00.2  eno3       network        I350 Gigabit Network Connection
    pci@0000:03:00.3  eno4       network        I350 Gigabit Network Connection
    pci@0000:07:00.0  eno5       network        Ethernet Connection X553/X557-AT 10GBASE-T
    pci@0000:07:00.1  eno6       network        Ethernet Connection X553/X557-AT 10GBASE-T
    pci@0000:08:00.0  eno7       network        Ethernet Connection X553 10 GbE SFP+
    pci@0000:08:00.1  eno8       network        Ethernet Connection X553 10 GbE SFP+
    

Clone this wiki locally