1、查看网卡硬件信息

[root@Master ~]#  lspci | grep -i 'eth'


2、查看系统的所有网络接口

[root@Master ~]# ifconfig -a

[root@Master ~]# ip link show

3、查看某个网络接口的详细信息,例如eth0的详细参数和指标

[root@Master ~]# ethtool eth0

4、查看所有网卡的链路状态

[root@Master ~]# for i in `seq 0 9`;do ethtool eth${i} | egrep 'eth|Link';done

5、列出所有pci设备

[root@Master ~]# lspci -tv | more

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐