当前位置:   article > 正文

linux查看网卡信息

linux查看网卡信息

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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/594916
推荐阅读
相关标签
  

闽ICP备14008679号