lshw

[root@localhost ~]# lshw -c network -businfo
Bus info          Device      Class          Description
========================================================
pci@0000:05:00.0              network        Hi1822 Family (2*25GE)
pci@0000:06:00.0              network        Hi1822 Family (2*25GE)
pci@0000:7d:00.0  enp125s0f0  network        HNS GE/10GE/25GE RDMA Network Controller
pci@0000:7d:00.1  enp125s0f1  network        HNS GE/10GE/25GE Network Controller
pci@0000:7d:00.2  enp125s0f2  network        HNS GE/10GE/25GE RDMA Network Controller
pci@0000:7d:00.3  enp125s0f3  network        HNS GE/10GE/25GE Network Controller
[root@localhost ~]# 
原文地址:https://www.cnblogs.com/dream397/p/13606027.html