iperf测试

  • 在服务端运行iperf,输入命令iperf –s –p 12345 –i 1 –M 以在本机端口12345上启用iperf

  • 在客户端运行iperf,输入命令iperf –c server-ip –p server-port –i 1 –t 10 –w 20K,其中参数说明如下:

    -c:客户端模式,后接服务器ip

    -p:后接服务端监听的端口

    -i:设置带宽报告的时间间隔,单位为秒

    -t:设置测试的时长,单位为秒

    -w:设置tcp窗口大小,一般可以不用设置,默认即可

posted @ 2015-03-25 13:15  juandx  阅读(306)  评论(0编辑  收藏  举报