linux查看网卡信息
1、 查看网卡硬件信息2、 查看系统的所有网络接口3、 查看某个网络接口的详细信息,例如eth0的详细参数和指标4、 查看所有网卡的链路状态5、列出所有pci设备
·
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
更多推荐
所有评论(0)