首先给出查看网卡速度的命令
dmesg |grep eth0(查看eth0的网卡信息)
dmesg |grep eth1(查看eth1的网卡信息)
dmesg |grep eth(查看所有网卡的信息)

-------------------------------------
[root@ms-storage ~]# dmesg |grep eth0
divert: allocating divert_blk for eth0
eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem 92000000, IRQ 177, node addr 5cf3fcbaff58
bnx2: eth0: using MSI
ADDRCONF(NETDEV_UP): eth0: link is not ready
bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex(千M全双工)
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
--------------------------------------------------------
[root@ms-storage ~]# dmesg |grep eth1
divert: allocating divert_blk for eth1
eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem 94000000, IRQ 74, node addr 5cf3fcbaff5a
bnx2: eth1: using MSI
ADDRCONF(NETDEV_UP): eth1: link is not ready
bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex(百M全双工)
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
bnx2: eth1 NIC Copper Link is Down
bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex
bnx2: eth1 NIC Copper Link is Down
bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex
bnx2: eth1 NIC Copper Link is Down
bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex
bnx2: eth1 NIC Copper Link is Down
bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex
bnx2: eth1 NIC Copper Link is Down
eth1: no IPv6 routers present
bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex
--------------------------------------------------------
Linux命令dmesg用来显示开机信息,kernel会将开机信息存储在ring buffer中。您若是开机时来不及查看信息,可利用dmesg来查看。开机信息亦保存在/var/log目录中,名称为dmesg的文件里。
应用dmesg可以得到所有设备的信息,包括CPU信息,外挂磁盘,网卡信息等。
GitHub 加速计划 / li / linux-dash
13
2
下载
A beautiful web dashboard for Linux
最近提交(Master分支:3 个月前 )
186a802e added ecosystem file for PM2 5 年前
5def40a3 Add host customization support for the NodeJS version 5 年前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐