linux 测试网速的相关工具

linux 测试网速的相关工具

1. #  iptraf -g   //这个最直观

2. iperf  Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能。Iperf具有多种参数和UDP特性,可以根据需要调整。Iperf可以报告带宽,延迟抖动和数据包丢失

TCP:
server(pc):  iperf -s -i 1
client(ls1b):  iperf -t 20 -i 1 -c 192.168.1.167 (pc-ip)

UDP:
server(pc): iperf  -u -s -i 1
client(ls1b): iperf -t 10 -i 1 -u -b 1000M  -c 192.168.1.90

3. #  ifconfig -a
eth0:Link encap:Ethernet  HWaddr 00:1e:64:63:ab:fe 
          inet addr:192.168.3.103  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:64ff:fe63:abfe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:70283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46701 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:73276012 (73.2 MB)  TX bytes:6267375 (6.2 MB)

4. #  mii-tool -w -v  //更详细的用法 man mii-tool


5. ethtool是用来显示和更改网卡设置的工具 更详细的用法 man ethtool
# ethtool eth0   //显示网络端口设置功能
Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  Not reported
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: No
    Speed: 10Mb/s
    Duplex: Half
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000033 (51)
    Link detected: no

# ethtool -i eth0  //显示跟硬件相关的信息
driver: r8169
version: 2.3LK-NAPI
firmware-version:
bus-info: 0000:05:00.0

6. # watch -n 1 "/sbin/ifconfig eth0 | grep bytes"  





更多参考:

AIX mount RedHat的NFS

误删除/dev/dsk 和/dev/rdsk 下的文件怎么办?

unary operator expected

bash: /root/.bash_profile: line 15: syntax error: unexpected end of file

Linux下如何查看文件秒级修改及访问时间

EM乱码解决

linux里端口转发

windows xp 下使用FileZilla密钥

java.net.SocketException: Too many open files 问题的解决办法

UNExcepted inconsistency; run fsck manually

如何修改linux的mac地址?

mysqldump: Got error: 1066: Not unique table/alias

rsync详解一

rsync详解二

更改mysql的默认安装目录

httpd: apr_sockaddr_info_get() failed for centos1113

Real domain name required for sender address

Connection refused by [127.0.0.1]

MySQL bin_log文件占用空间太大

Centos 5 多路径配置步骤

rpc mount export: RPC: Unable to receive; errno = No route to host

nohup和screen的比较

vmware workstation 8 共享磁盘



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值