IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 网络协议 -> 批处理|测试工具|局域网速度测试/网络上传与下载速度测试 -> 正文阅读

[网络协议]批处理|测试工具|局域网速度测试/网络上传与下载速度测试

批处理实现局域网速度测试/网络上传与下载速度测试

用于检测WIFI模块/有线网卡/RJ45或者局域网的传输速度

---

Iperf是一个网络性能测试工具,Iperf可以测试最大TCP和UDP带宽性能,Iperf具有多种参数和UDP特性,可以根据需要调整,Iperf可以报告带宽,延迟抖动和数据包丢失. 源自国外,利用BAT将软件简化了一下,无技术含量,只是为了拿出来分享,方便大家使用. 做完网络后测试一下,防止不必要的麻烦发生。

---

文末可免费下载完整版源码文件






使用方法


????????将以下代码复制后,保存为*.bat批处理文件即可执行;或者新建一个记事本文件,将复制的代码粘贴进去,然后将文件名后缀改为*.bat,双击即可执行;

测试思路

1.服务器和待测试设备需要在同一个局域网下面,即连接在同一个路由器;

2.服务器端设置为PC,客户端为安卓设备,可以测试下载速度;

3.服务器端设置为安卓设备,客户端为PC,可以测试上传速度;

测试方法

1.准备一个路由器,不用接外网;

2.PC和待测试的android设备都接在路由器的LAN口或者连接同一个WIFI AP,确保两台设备都识别到网络,并记录下服务器端的IP地址(可以在CMD中输入:ipconfig /all 查找);

3.服务端开启的命令:iperf -s

4.客户端开启的命令:iperf -c %ip% -i 1 -w 1M -t 60(60代表测试60秒)

5.测试安卓设备下载速率:PC端开启服务器,安卓设备端输入客户端的指令;

6.测试安卓设备上传速率:安卓设备端开启服务器,PC端输入客户端指令;





测试下载速度步骤

01.电脑端开启iperf服务器_V1.0_20180321.bat

@echo off
:start
if not exist .\iperf.exe goto noIperf

set str=电脑端开启iperf服务器_V1.0_20180321 By HRD

COLOR 1F
title %str%
echo.
echo ======================================================================
echo.
echo          %str%
echo.
echo ======================================================================
echo.
echo 正在开启服务,请稍候...
echo.
iperf.exe -s


pause

goto :eof

:noIperf
color cf
echo.
echo 未发现 iperf.exe 文件,请确认后再试...
echo.
pause
goto start

运行截图

02.启动安卓设备为客户端

测试设备安装iperf_206.apk,并输入iperf -c %ip% -i 1 -w 1M -t 60(60代表测试60秒),%ip%输入PC的IP地址,如:

iperf -c 192.168.1.101 -i 1 -w 1M -t 60

?如要测试多次获取平均值,则执行多次即可;

测试上传速度步骤

01.安卓设备上运行服务端

在安卓iperf界面执行iperf -s,然后点击开启按钮(关闭按钮),即可生效;

?02.PC上运行客户端

ipconfig /all 获取本地的IP后,运行 04.安卓端开启服务后电脑端测试数据下载_V1.1_20180428.bat,根据界面提示,输入IP地址,如IP地址为192.168.1.53,则只用输入1.53

@ECHO off

set str=安卓端开启服务后电脑端测试数据下载_V1.0_20180321 By HRD

title %str%

:start
cls
ECHO.
ECHO ======================================================================
ECHO.
ECHO          %str%
ECHO.
ECHO ======================================================================
ECHO.


color 1f

ECHO.
ECHO 请输入安卓端IP地址,如:192.168.1.101(进入安卓设备关于》状态,查看IP)
ECHO 或者在Iperf的界面上查看IP地址
ECHO.
ECHO 请输入IP地址,如: 192.168.[XXX].[XXX]=	
ECHO.	 
ECHO (备注:192.168.1.100 只用输入最后的 [XXX].[XXX] 的内容  [1].[100]  ,前面的会自动补齐)
ECHO.
ECHO 请输入最后面的两处数字,中间用.隔开:
ECHO 如:1.101
set /p IP0=
ECHO.
ECHO IP=192.168.%IP0%
ECHO.
echo.
echo 第 1 次测试开始...
iperf -c 192.168.%IP0% -i 1 -w 1M -t 60

timeout 15
echo.
echo 第 2 次测试开始...
iperf -c 192.168.%IP0% -i 1 -w 1M -t 60

timeout 15
echo.
echo 第 3 次测试开始...
iperf -c 192.168.%IP0% -i 1 -w 1M -t 60

timeout 15
echo.
echo 第 4 次测试开始...
iperf -c 192.168.%IP0% -i 1 -w 1M -t 60


timeout 15
echo.
echo 第 5 次测试开始...
iperf -c 192.168.%IP0% -i 1 -w 1M -t 60





ECHO.
ECHO 测试完成,请查看测试结果...
color 2f
pause

goto start


运行日志


======================================================================

         安卓端开启服务后电脑端测试数据下载_V1.0_20180321 By HRD

======================================================================


请输入安卓端IP地址,如:192.168.1.101(进入安卓设备关于》状态,查看IP)
或者在Iperf的界面上查看IP地址

请输入IP地址,如: 192.168.[XXX].[XXX]=

(备注:192.168.1.100 只用输入最后的 [XXX].[XXX] 的内容  [1].[100]  ,前面

请输入最后面的两处数字,中间用.隔开:
如:1.101
1.53

IP=192.168.1.53


第 1 次测试开始...
------------------------------------------------------------
Client connecting to 192.168.1.53, TCP port 5001
TCP window size: 1.00 MByte
------------------------------------------------------------
[332] local 192.168.1.53 port 54884 connected with 192.168.1.53 port 5001
[ ID] Interval       Transfer     Bandwidth
[332]  0.0- 1.0 sec   400 MBytes  3.35 Gbits/sec
[332]  1.0- 2.0 sec   403 MBytes  3.38 Gbits/sec
[332]  2.0- 3.0 sec   405 MBytes  3.40 Gbits/sec
[332]  3.0- 4.0 sec   409 MBytes  3.43 Gbits/sec
[332]  4.0- 5.0 sec   395 MBytes  3.31 Gbits/sec
[332]  5.0- 6.0 sec   405 MBytes  3.40 Gbits/sec
[332]  6.0- 7.0 sec   404 MBytes  3.39 Gbits/sec
[332]  7.0- 8.0 sec   400 MBytes  3.36 Gbits/sec
[332]  8.0- 9.0 sec   382 MBytes  3.20 Gbits/sec
[332]  9.0-10.0 sec   373 MBytes  3.13 Gbits/sec
[332] 10.0-11.0 sec   385 MBytes  3.23 Gbits/sec
[332] 11.0-12.0 sec   367 MBytes  3.08 Gbits/sec
[332] 12.0-13.0 sec   351 MBytes  2.95 Gbits/sec
[332] 13.0-14.0 sec   387 MBytes  3.25 Gbits/sec
[332] 14.0-15.0 sec   386 MBytes  3.24 Gbits/sec
[332] 15.0-16.0 sec   349 MBytes  2.93 Gbits/sec
[332] 16.0-17.0 sec   374 MBytes  3.14 Gbits/sec
[332] 17.0-18.0 sec   389 MBytes  3.26 Gbits/sec
[332] 18.0-19.0 sec   392 MBytes  3.29 Gbits/sec
[332] 19.0-20.0 sec   396 MBytes  3.32 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 20.0-21.0 sec   387 MBytes  3.25 Gbits/sec
[332] 21.0-22.0 sec   391 MBytes  3.28 Gbits/sec
[332] 22.0-23.0 sec   396 MBytes  3.32 Gbits/sec
[332] 23.0-24.0 sec   395 MBytes  3.31 Gbits/sec
[332] 24.0-25.0 sec   401 MBytes  3.36 Gbits/sec
[332] 25.0-26.0 sec   403 MBytes  3.38 Gbits/sec
[332] 26.0-27.0 sec   387 MBytes  3.25 Gbits/sec
[332] 27.0-28.0 sec   393 MBytes  3.30 Gbits/sec
[332] 28.0-29.0 sec   396 MBytes  3.32 Gbits/sec
[332] 29.0-30.0 sec   399 MBytes  3.34 Gbits/sec
[332] 30.0-31.0 sec   399 MBytes  3.35 Gbits/sec
[332] 31.0-32.0 sec   373 MBytes  3.13 Gbits/sec
[332] 32.0-33.0 sec   394 MBytes  3.31 Gbits/sec
[332] 33.0-34.0 sec   396 MBytes  3.32 Gbits/sec
[332] 34.0-35.0 sec   395 MBytes  3.31 Gbits/sec
[332] 35.0-36.0 sec   402 MBytes  3.38 Gbits/sec
[332] 36.0-37.0 sec   406 MBytes  3.41 Gbits/sec
[332] 37.0-38.0 sec   390 MBytes  3.27 Gbits/sec
[332] 38.0-39.0 sec   383 MBytes  3.21 Gbits/sec
[332] 39.0-40.0 sec   390 MBytes  3.27 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 40.0-41.0 sec   385 MBytes  3.23 Gbits/sec
[332] 41.0-42.0 sec   384 MBytes  3.22 Gbits/sec
[332] 42.0-43.0 sec   384 MBytes  3.22 Gbits/sec
[332] 43.0-44.0 sec   389 MBytes  3.27 Gbits/sec
[332] 44.0-45.0 sec   382 MBytes  3.20 Gbits/sec
[332] 45.0-46.0 sec   389 MBytes  3.27 Gbits/sec
[332] 46.0-47.0 sec   388 MBytes  3.25 Gbits/sec
[332] 47.0-48.0 sec   387 MBytes  3.25 Gbits/sec
[332] 48.0-49.0 sec   396 MBytes  3.32 Gbits/sec
[332] 49.0-50.0 sec   361 MBytes  3.03 Gbits/sec
[332] 50.0-51.0 sec   382 MBytes  3.20 Gbits/sec
[332] 51.0-52.0 sec   386 MBytes  3.23 Gbits/sec
[332] 52.0-53.0 sec   378 MBytes  3.17 Gbits/sec
[332] 53.0-54.0 sec   394 MBytes  3.30 Gbits/sec
[332] 54.0-55.0 sec   386 MBytes  3.24 Gbits/sec
[332] 55.0-56.0 sec   392 MBytes  3.28 Gbits/sec
[332] 56.0-57.0 sec   391 MBytes  3.28 Gbits/sec
[332] 57.0-58.0 sec   384 MBytes  3.22 Gbits/sec
[332] 58.0-59.0 sec   382 MBytes  3.20 Gbits/sec
[332] 59.0-60.0 sec   383 MBytes  3.21 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332]  0.0-60.0 sec  22.8 GBytes  3.26 Gbits/sec

等待  0 秒,按一个键继续 ...

第 2 次测试开始...
------------------------------------------------------------
Client connecting to 192.168.1.53, TCP port 5001
TCP window size: 1.00 MByte
------------------------------------------------------------
[332] local 192.168.1.53 port 54980 connected with 192.168.1.53 port 5001
[ ID] Interval       Transfer     Bandwidth
[332]  0.0- 1.0 sec   389 MBytes  3.26 Gbits/sec
[332]  1.0- 2.0 sec   379 MBytes  3.18 Gbits/sec
[332]  2.0- 3.0 sec   388 MBytes  3.26 Gbits/sec
[332]  3.0- 4.0 sec   385 MBytes  3.23 Gbits/sec
[332]  4.0- 5.0 sec   394 MBytes  3.31 Gbits/sec
[332]  5.0- 6.0 sec   395 MBytes  3.32 Gbits/sec
[332]  6.0- 7.0 sec   393 MBytes  3.30 Gbits/sec
[332]  7.0- 8.0 sec   388 MBytes  3.25 Gbits/sec
[332]  8.0- 9.0 sec   400 MBytes  3.35 Gbits/sec
[332]  9.0-10.0 sec   400 MBytes  3.35 Gbits/sec
[332] 10.0-11.0 sec   383 MBytes  3.22 Gbits/sec
[332] 11.0-12.0 sec   396 MBytes  3.32 Gbits/sec
[332] 12.0-13.0 sec   395 MBytes  3.31 Gbits/sec
[332] 13.0-14.0 sec   392 MBytes  3.29 Gbits/sec
[332] 14.0-15.0 sec   389 MBytes  3.26 Gbits/sec
[332] 15.0-16.0 sec   390 MBytes  3.27 Gbits/sec
[332] 16.0-17.0 sec   393 MBytes  3.30 Gbits/sec
[332] 17.0-18.0 sec   397 MBytes  3.33 Gbits/sec
[332] 18.0-19.0 sec   409 MBytes  3.43 Gbits/sec
[332] 19.0-20.0 sec   401 MBytes  3.37 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 20.0-21.0 sec   398 MBytes  3.34 Gbits/sec
[332] 21.0-22.0 sec   393 MBytes  3.30 Gbits/sec
[332] 22.0-23.0 sec   401 MBytes  3.37 Gbits/sec
[332] 23.0-24.0 sec   390 MBytes  3.27 Gbits/sec
[332] 24.0-25.0 sec   398 MBytes  3.34 Gbits/sec
[332] 25.0-26.0 sec   390 MBytes  3.27 Gbits/sec
[332] 26.0-27.0 sec   403 MBytes  3.38 Gbits/sec
[332] 27.0-28.0 sec   372 MBytes  3.12 Gbits/sec
[332] 28.0-29.0 sec   406 MBytes  3.41 Gbits/sec
[332] 29.0-30.0 sec   368 MBytes  3.09 Gbits/sec
[332] 30.0-31.0 sec   393 MBytes  3.30 Gbits/sec
[332] 31.0-32.0 sec   385 MBytes  3.23 Gbits/sec
[332] 32.0-33.0 sec   384 MBytes  3.22 Gbits/sec
[332] 33.0-34.0 sec   388 MBytes  3.25 Gbits/sec
[332] 34.0-35.0 sec   389 MBytes  3.26 Gbits/sec
[332] 35.0-36.0 sec   395 MBytes  3.32 Gbits/sec
[332] 36.0-37.0 sec   395 MBytes  3.31 Gbits/sec
[332] 37.0-38.0 sec   397 MBytes  3.33 Gbits/sec
[332] 38.0-39.0 sec   393 MBytes  3.29 Gbits/sec
[332] 39.0-40.0 sec   362 MBytes  3.04 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 40.0-41.0 sec   400 MBytes  3.35 Gbits/sec
[332] 41.0-42.0 sec   402 MBytes  3.37 Gbits/sec
[332] 42.0-43.0 sec   395 MBytes  3.32 Gbits/sec
[332] 43.0-44.0 sec   399 MBytes  3.35 Gbits/sec
[332] 44.0-45.0 sec   398 MBytes  3.34 Gbits/sec
[332] 45.0-46.0 sec   377 MBytes  3.17 Gbits/sec
[332] 46.0-47.0 sec   401 MBytes  3.36 Gbits/sec
[332] 47.0-48.0 sec   405 MBytes  3.40 Gbits/sec
[332] 48.0-49.0 sec   406 MBytes  3.40 Gbits/sec
[332] 49.0-50.0 sec   397 MBytes  3.33 Gbits/sec
[332] 50.0-51.0 sec   409 MBytes  3.43 Gbits/sec
[332] 51.0-52.0 sec   407 MBytes  3.41 Gbits/sec
[332] 52.0-53.0 sec   403 MBytes  3.38 Gbits/sec
[332] 53.0-54.0 sec   408 MBytes  3.42 Gbits/sec
[332] 54.0-55.0 sec   408 MBytes  3.43 Gbits/sec
[332] 55.0-56.0 sec   403 MBytes  3.38 Gbits/sec
[332] 56.0-57.0 sec   402 MBytes  3.37 Gbits/sec
[332] 57.0-58.0 sec   404 MBytes  3.39 Gbits/sec
[332] 58.0-59.0 sec   420 MBytes  3.53 Gbits/sec
[332] 59.0-60.0 sec   394 MBytes  3.31 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332]  0.0-60.0 sec  23.1 GBytes  3.31 Gbits/sec

等待  0 秒,按一个键继续 ...

第 3 次测试开始...
------------------------------------------------------------
Client connecting to 192.168.1.53, TCP port 5001
TCP window size: 1.00 MByte
------------------------------------------------------------
[332] local 192.168.1.53 port 55060 connected with 192.168.1.53 port 5001
[ ID] Interval       Transfer     Bandwidth
[332]  0.0- 1.0 sec   399 MBytes  3.35 Gbits/sec
[332]  1.0- 2.0 sec   402 MBytes  3.38 Gbits/sec
[332]  2.0- 3.0 sec   409 MBytes  3.43 Gbits/sec
[332]  3.0- 4.0 sec   396 MBytes  3.32 Gbits/sec
[332]  4.0- 5.0 sec   414 MBytes  3.47 Gbits/sec
[332]  5.0- 6.0 sec   398 MBytes  3.34 Gbits/sec
[332]  6.0- 7.0 sec   405 MBytes  3.40 Gbits/sec
[332]  7.0- 8.0 sec   394 MBytes  3.31 Gbits/sec
[332]  8.0- 9.0 sec   402 MBytes  3.37 Gbits/sec
[332]  9.0-10.0 sec   401 MBytes  3.37 Gbits/sec
[332] 10.0-11.0 sec   402 MBytes  3.38 Gbits/sec
[332] 11.0-12.0 sec   408 MBytes  3.42 Gbits/sec
[332] 12.0-13.0 sec   410 MBytes  3.44 Gbits/sec
[332] 13.0-14.0 sec   420 MBytes  3.52 Gbits/sec
[332] 14.0-15.0 sec   400 MBytes  3.36 Gbits/sec
[332] 15.0-16.0 sec   407 MBytes  3.41 Gbits/sec
[332] 16.0-17.0 sec   394 MBytes  3.31 Gbits/sec
[332] 17.0-18.0 sec   402 MBytes  3.37 Gbits/sec
[332] 18.0-19.0 sec   404 MBytes  3.39 Gbits/sec
[332] 19.0-20.0 sec   381 MBytes  3.19 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 20.0-21.0 sec   398 MBytes  3.34 Gbits/sec
[332] 21.0-22.0 sec   404 MBytes  3.39 Gbits/sec
[332] 22.0-23.0 sec   410 MBytes  3.44 Gbits/sec
[332] 23.0-24.0 sec   410 MBytes  3.44 Gbits/sec
[332] 24.0-25.0 sec   405 MBytes  3.40 Gbits/sec
[332] 25.0-26.0 sec   365 MBytes  3.07 Gbits/sec
[332] 26.0-27.0 sec   405 MBytes  3.40 Gbits/sec
[332] 27.0-28.0 sec   389 MBytes  3.27 Gbits/sec
[332] 28.0-29.0 sec   406 MBytes  3.40 Gbits/sec
[332] 29.0-30.0 sec   378 MBytes  3.17 Gbits/sec
[332] 30.0-31.0 sec   399 MBytes  3.35 Gbits/sec
[332] 31.0-32.0 sec   393 MBytes  3.29 Gbits/sec
[332] 32.0-33.0 sec   367 MBytes  3.08 Gbits/sec
[332] 33.0-34.0 sec   408 MBytes  3.42 Gbits/sec
[332] 34.0-35.0 sec   400 MBytes  3.36 Gbits/sec
[332] 35.0-36.0 sec   402 MBytes  3.37 Gbits/sec
[332] 36.0-37.0 sec   405 MBytes  3.40 Gbits/sec
[332] 37.0-38.0 sec   381 MBytes  3.19 Gbits/sec
[332] 38.0-39.0 sec   396 MBytes  3.32 Gbits/sec
[332] 39.0-40.0 sec   390 MBytes  3.27 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 40.0-41.0 sec   388 MBytes  3.25 Gbits/sec
[332] 41.0-42.0 sec   400 MBytes  3.35 Gbits/sec
[332] 42.0-43.0 sec   392 MBytes  3.29 Gbits/sec
[332] 43.0-44.0 sec   392 MBytes  3.29 Gbits/sec
[332] 44.0-45.0 sec   404 MBytes  3.39 Gbits/sec
[332] 45.0-46.0 sec   379 MBytes  3.18 Gbits/sec
[332] 46.0-47.0 sec   368 MBytes  3.09 Gbits/sec
[332] 47.0-48.0 sec   398 MBytes  3.34 Gbits/sec
[332] 48.0-49.0 sec   399 MBytes  3.34 Gbits/sec
[332] 49.0-50.0 sec   361 MBytes  3.03 Gbits/sec
[332] 50.0-51.0 sec   363 MBytes  3.04 Gbits/sec
[332] 51.0-52.0 sec   408 MBytes  3.42 Gbits/sec
[332] 52.0-53.0 sec   415 MBytes  3.48 Gbits/sec
[332] 53.0-54.0 sec   397 MBytes  3.33 Gbits/sec
[332] 54.0-55.0 sec   403 MBytes  3.38 Gbits/sec
[332] 55.0-56.0 sec   411 MBytes  3.44 Gbits/sec
[332] 56.0-57.0 sec   403 MBytes  3.38 Gbits/sec
[332] 57.0-58.0 sec   406 MBytes  3.41 Gbits/sec
[332] 58.0-59.0 sec   379 MBytes  3.18 Gbits/sec
[332] 59.0-60.0 sec   418 MBytes  3.51 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332]  0.0-60.0 sec  23.3 GBytes  3.33 Gbits/sec

等待  0 秒,按一个键继续 ...

第 4 次测试开始...
------------------------------------------------------------
Client connecting to 192.168.1.53, TCP port 5001
TCP window size: 1.00 MByte
------------------------------------------------------------
[332] local 192.168.1.53 port 55155 connected with 192.168.1.53 port 5001
[ ID] Interval       Transfer     Bandwidth
[332]  0.0- 1.0 sec   401 MBytes  3.36 Gbits/sec
[332]  1.0- 2.0 sec   390 MBytes  3.27 Gbits/sec
[332]  2.0- 3.0 sec   373 MBytes  3.13 Gbits/sec
[332]  3.0- 4.0 sec   395 MBytes  3.32 Gbits/sec
[332]  4.0- 5.0 sec   394 MBytes  3.31 Gbits/sec
[332]  5.0- 6.0 sec   396 MBytes  3.32 Gbits/sec
[332]  6.0- 7.0 sec   400 MBytes  3.36 Gbits/sec
[332]  7.0- 8.0 sec   394 MBytes  3.30 Gbits/sec
[332]  8.0- 9.0 sec   381 MBytes  3.19 Gbits/sec
[332]  9.0-10.0 sec   374 MBytes  3.14 Gbits/sec
[332] 10.0-11.0 sec   398 MBytes  3.34 Gbits/sec
[332] 11.0-12.0 sec   368 MBytes  3.09 Gbits/sec
[332] 12.0-13.0 sec   372 MBytes  3.12 Gbits/sec
[332] 13.0-14.0 sec   391 MBytes  3.28 Gbits/sec
[332] 14.0-15.0 sec   389 MBytes  3.26 Gbits/sec
[332] 15.0-16.0 sec   388 MBytes  3.26 Gbits/sec
[332] 16.0-17.0 sec   388 MBytes  3.26 Gbits/sec
[332] 17.0-18.0 sec   390 MBytes  3.28 Gbits/sec
[332] 18.0-19.0 sec   376 MBytes  3.16 Gbits/sec
[332] 19.0-20.0 sec   333 MBytes  2.80 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 20.0-21.0 sec   400 MBytes  3.35 Gbits/sec
[332] 21.0-22.0 sec   404 MBytes  3.39 Gbits/sec
[332] 22.0-23.0 sec   405 MBytes  3.40 Gbits/sec
[332] 23.0-24.0 sec   394 MBytes  3.30 Gbits/sec
[332] 24.0-25.0 sec   362 MBytes  3.04 Gbits/sec
[332] 25.0-26.0 sec   371 MBytes  3.12 Gbits/sec
[332] 26.0-27.0 sec   405 MBytes  3.40 Gbits/sec
[332] 27.0-28.0 sec   393 MBytes  3.30 Gbits/sec
[332] 28.0-29.0 sec   391 MBytes  3.28 Gbits/sec
[332] 29.0-30.0 sec   366 MBytes  3.07 Gbits/sec
[332] 30.0-31.0 sec   387 MBytes  3.25 Gbits/sec
[332] 31.0-32.0 sec   363 MBytes  3.05 Gbits/sec
[332] 32.0-33.0 sec   327 MBytes  2.74 Gbits/sec
[332] 33.0-34.0 sec   397 MBytes  3.33 Gbits/sec
[332] 34.0-35.0 sec   395 MBytes  3.32 Gbits/sec
[332] 35.0-36.0 sec   396 MBytes  3.32 Gbits/sec
[332] 36.0-37.0 sec   399 MBytes  3.35 Gbits/sec
[332] 37.0-38.0 sec   397 MBytes  3.33 Gbits/sec
[332] 38.0-39.0 sec   394 MBytes  3.30 Gbits/sec
[332] 39.0-40.0 sec   344 MBytes  2.88 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332] 40.0-41.0 sec   397 MBytes  3.33 Gbits/sec
[332] 41.0-42.0 sec   363 MBytes  3.05 Gbits/sec
[332] 42.0-43.0 sec   394 MBytes  3.30 Gbits/sec
[332] 43.0-44.0 sec   359 MBytes  3.01 Gbits/sec
[332] 44.0-45.0 sec   339 MBytes  2.84 Gbits/sec
[332] 45.0-46.0 sec   369 MBytes  3.09 Gbits/sec
[332] 46.0-47.0 sec   393 MBytes  3.30 Gbits/sec
[332] 47.0-48.0 sec   401 MBytes  3.37 Gbits/sec
[332] 48.0-49.0 sec   394 MBytes  3.31 Gbits/sec
[332] 49.0-50.0 sec   387 MBytes  3.25 Gbits/sec
[332] 50.0-51.0 sec   393 MBytes  3.30 Gbits/sec
[332] 51.0-52.0 sec   396 MBytes  3.32 Gbits/sec
[332] 52.0-53.0 sec   398 MBytes  3.34 Gbits/sec
[332] 53.0-54.0 sec   398 MBytes  3.34 Gbits/sec
[332] 54.0-55.0 sec   393 MBytes  3.30 Gbits/sec
[332] 55.0-56.0 sec   391 MBytes  3.28 Gbits/sec
[332] 56.0-57.0 sec   394 MBytes  3.31 Gbits/sec
[332] 57.0-58.0 sec   387 MBytes  3.25 Gbits/sec
[332] 58.0-59.0 sec   394 MBytes  3.31 Gbits/sec
[332] 59.0-60.0 sec   391 MBytes  3.28 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[332]  0.0-60.0 sec  22.6 GBytes  3.23 Gbits/sec

等待  0 秒,按一个键继续 ...

第 5 次测试开始...
------------------------------------------------------------
Client connecting to 192.168.1.53, TCP port 5001
TCP window size: 1.00 MByte
------------------------------------------------------------
[352] local 192.168.1.53 port 55235 connected with 192.168.1.53 port 5001
[ ID] Interval       Transfer     Bandwidth
[352]  0.0- 1.0 sec   380 MBytes  3.19 Gbits/sec
[352]  1.0- 2.0 sec   376 MBytes  3.15 Gbits/sec
[352]  2.0- 3.0 sec   380 MBytes  3.18 Gbits/sec
[352]  3.0- 4.0 sec   377 MBytes  3.16 Gbits/sec
[352]  4.0- 5.0 sec   374 MBytes  3.13 Gbits/sec
[352]  5.0- 6.0 sec   320 MBytes  2.69 Gbits/sec
[352]  6.0- 7.0 sec   309 MBytes  2.60 Gbits/sec
[352]  7.0- 8.0 sec   376 MBytes  3.15 Gbits/sec
[352]  8.0- 9.0 sec   379 MBytes  3.18 Gbits/sec
[352]  9.0-10.0 sec   369 MBytes  3.10 Gbits/sec
[352] 10.0-11.0 sec   377 MBytes  3.16 Gbits/sec
[352] 11.0-12.0 sec   373 MBytes  3.13 Gbits/sec
[352] 12.0-13.0 sec   371 MBytes  3.11 Gbits/sec
[352] 13.0-14.0 sec   357 MBytes  3.00 Gbits/sec
[352] 14.0-15.0 sec   358 MBytes  3.00 Gbits/sec
[352] 15.0-16.0 sec   376 MBytes  3.15 Gbits/sec
[352] 16.0-17.0 sec   371 MBytes  3.11 Gbits/sec
[352] 17.0-18.0 sec   367 MBytes  3.07 Gbits/sec
[352] 18.0-19.0 sec   375 MBytes  3.15 Gbits/sec
[352] 19.0-20.0 sec   373 MBytes  3.13 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[352] 20.0-21.0 sec   364 MBytes  3.06 Gbits/sec
[352] 21.0-22.0 sec   378 MBytes  3.17 Gbits/sec
[352] 22.0-23.0 sec   372 MBytes  3.12 Gbits/sec
[352] 23.0-24.0 sec   359 MBytes  3.01 Gbits/sec
[352] 24.0-25.0 sec   369 MBytes  3.09 Gbits/sec
[352] 25.0-26.0 sec   370 MBytes  3.10 Gbits/sec
[352] 26.0-27.0 sec   382 MBytes  3.20 Gbits/sec
[352] 27.0-28.0 sec   351 MBytes  2.95 Gbits/sec
[352] 28.0-29.0 sec   371 MBytes  3.11 Gbits/sec
[352] 29.0-30.0 sec   372 MBytes  3.12 Gbits/sec
[352] 30.0-31.0 sec   360 MBytes  3.02 Gbits/sec
[352] 31.0-32.0 sec   363 MBytes  3.04 Gbits/sec
[352] 32.0-33.0 sec   368 MBytes  3.09 Gbits/sec
[352] 33.0-34.0 sec   366 MBytes  3.07 Gbits/sec
[352] 34.0-35.0 sec   379 MBytes  3.18 Gbits/sec
[352] 35.0-36.0 sec   390 MBytes  3.27 Gbits/sec
[352] 36.0-37.0 sec   385 MBytes  3.23 Gbits/sec
[352] 37.0-38.0 sec   397 MBytes  3.33 Gbits/sec
[352] 38.0-39.0 sec   397 MBytes  3.33 Gbits/sec
[352] 39.0-40.0 sec   372 MBytes  3.12 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[352] 40.0-41.0 sec   371 MBytes  3.11 Gbits/sec
[352] 41.0-42.0 sec   332 MBytes  2.78 Gbits/sec
[352] 42.0-43.0 sec   328 MBytes  2.75 Gbits/sec
[352] 43.0-44.0 sec   309 MBytes  2.59 Gbits/sec
[352] 44.0-45.0 sec   302 MBytes  2.54 Gbits/sec
[352] 45.0-46.0 sec   304 MBytes  2.55 Gbits/sec
[352] 46.0-47.0 sec   364 MBytes  3.05 Gbits/sec
[352] 47.0-48.0 sec   385 MBytes  3.23 Gbits/sec
[352] 48.0-49.0 sec   387 MBytes  3.24 Gbits/sec
[352] 49.0-50.0 sec   381 MBytes  3.19 Gbits/sec
[352] 50.0-51.0 sec   375 MBytes  3.15 Gbits/sec
[352] 51.0-52.0 sec   360 MBytes  3.02 Gbits/sec
[352] 52.0-53.0 sec   375 MBytes  3.14 Gbits/sec
[352] 53.0-54.0 sec   370 MBytes  3.10 Gbits/sec
[352] 54.0-55.0 sec   329 MBytes  2.76 Gbits/sec
[352] 55.0-56.0 sec   378 MBytes  3.17 Gbits/sec
[352] 56.0-57.0 sec   376 MBytes  3.16 Gbits/sec
[352] 57.0-58.0 sec   380 MBytes  3.18 Gbits/sec
[352] 58.0-59.0 sec   378 MBytes  3.17 Gbits/sec
[352] 59.0-60.0 sec   382 MBytes  3.20 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[352]  0.0-60.0 sec  21.5 GBytes  3.07 Gbits/sec

测试完成,请查看测试结果...
请按任意键继续. . .


运行截图

今日美图

完整源码下载地址

链接:https://pan.baidu.com/s/1wIOvIVNAxC2QKumnzATwOw?
提取码:fdm7

  网络协议 最新文章
使用Easyswoole 搭建简单的Websoket服务
常见的数据通信方式有哪些?
Openssl 1024bit RSA算法---公私钥获取和处
HTTPS协议的密钥交换流程
《小白WEB安全入门》03. 漏洞篇
HttpRunner4.x 安装与使用
2021-07-04
手写RPC学习笔记
K8S高可用版本部署
mySQL计算IP地址范围
上一篇文章      下一篇文章      查看所有文章
加:2021-12-03 13:23:39  更:2021-12-03 13:24:03 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/26 9:49:08-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码