Chinaunix

标题: linux下怎么看网卡的速度? [打印本页]

作者: kkcocoon    时间: 2004-04-10 16:24
标题: linux下怎么看网卡的速度?
看网卡硬件找不到,不知道是10M还是100M的。
最好能从软件里看到了
linux下有没有像windows一样的在网络属性里可以看到的网卡的速度?
怎么看?
作者: 好好先生    时间: 2004-04-10 17:40
标题: linux下怎么看网卡的速度?
dmesg |grep eth0
试试
作者: 天外闲云    时间: 2004-04-10 18:17
标题: linux下怎么看网卡的速度?
原帖由 "好好先生" 发表:
dmesg |grep eth0
试试


[landrew@Cloud landrew]$ dmesg | grep eth0
divert: allocating divert_blk for eth0
eth0: Realtek RTL8201 PHY transceiver found at address 2.
eth0: Using transceiver found at address 2 as default
eth0: SiS 900 PCI Fast Ethernet at 0xcc00, IRQ 5, 00:a0:cc:d7:62:81.
divert: freeing divert_blk for eth0
divert: allocating divert_blk for eth0
eth0: Realtek RTL8201 PHY transceiver found at address 2.
eth0: Using transceiver found at address 2 as default
eth0: SiS 900 PCI Fast Ethernet at 0xcc00, IRQ 5, 00:a0:cc:d7:62:81.
eth0: Media Link On 10mbps half-duplex

的确有效。
作者: kkcocoon    时间: 2004-04-10 20:31
标题: linux下怎么看网卡的速度?
哪里看到有100M/10M的速度了? (redhat linux 9)

[root@ccvlinux root]# dmesg |grep eth0
divert: allocating divert_blk for eth0
eth0: VIA VT6102 Rhine-II at 0xd000, 00:50:ba:10:e6:65, IRQ 9.
eth0: MII PHY found at address 8, status 0x782d advertising 01e1 Link 45e1.
eth0: Setting full-duplex based on MII #8 link partner capability of 45e1.


[root@ccvlinux root]# dmesg | grep Link
isapnp: Card 'D-Link DE-220P PnP ISA Card'
eth0: MII PHY found at address 8, status 0x782d advertising 01e1 Link 45e1.
eth1: MII PHY found at address 8, status 0x782d advertising 01e1 Link 45e1.
作者: jozix    时间: 2004-04-10 21:03
标题: linux下怎么看网卡的速度?
我也尝试了一下 !和 楼上的 结果一样!
没出现什么速度 之类的字符~~~~~~~~~~~~~~
作者: 好好先生    时间: 2004-04-10 21:16
标题: linux下怎么看网卡的速度?
我的
dmesg |grep eth0
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xd0929000, 00:e0:4c:81:c0:4d, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.bridge-eth0: up
bridge-eth0: attached

作者: llzqq    时间: 2004-04-10 21:39
标题: linux下怎么看网卡的速度?
最苯的办法:连WIN2K在WIN2K下看一下本地连接速率。
作者: llzqq    时间: 2004-04-10 21:42
标题: linux下怎么看网卡的速度?
[quote]原帖由 "好好先生"][/quote 发表:


为何我的是这样的:

  1. [root@home root]# dmesg |grep eth1
  2. divert: allocating divert_blk for eth1
  3. eth1: RealTek RTL8139 Fast Ethernet at 0xd092e000, 00:e0:4c:92:b8:87, IRQ 11
  4. eth1:  Identified 8139 chip type 'RTL-8139C'
  5. eth1: Setting half-duplex based on auto-negotiated partner ability 0000.
复制代码

作者: platinum    时间: 2004-04-10 21:59
标题: linux下怎么看网卡的速度?
安装iptraf的源码包,然后编译安装,可以动态检测网络接口的速度和作FILTER
作者: poper    时间: 2004-04-11 00:29
标题: linux下怎么看网卡的速度?
最简单的是mii-tool
作者: 天外闲云    时间: 2004-04-11 01:18
标题: linux下怎么看网卡的速度?
[root@Cloud root]# mii-tool
eth0: no autonegotiation, 10baseT-HD, link ok


看不出来。
作者: netocool    时间: 2004-04-11 01:22
标题: linux下怎么看网卡的速度?
no autonegotiation
作者: kkcocoon    时间: 2004-04-11 09:21
标题: linux下怎么看网卡的速度?
看到了,谢谢,呵呵

[root@ccvlinux root]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth2' failed: Operation not supported


[quote]原帖由 "poper"]最简单的是mii-tool[/quote 发表:





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2