首先给出查看网卡速度的命令
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
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐