4测试命令_局域网带宽测试工具-iPerf3
工具名稱:iPerf3
官網: https://iperf.fr/
簡介:用于TCP,UDP和SCTP的終極速度測試工具;
功能:跨平臺(Windows,Linux,Android,MacOS X,FreeBSD,OpenBSD,NetBSD,VxWorks,Solaris,…),其他詳見官網
各平臺下載地址: https://iperf.fr/iperf-download.php
命令使用幫助: https://iperf.fr/iperf-doc.php#3doc
====測試演示1開始===
環境說明1:window10下的客戶端A 和 window10下的服務器B
環境準備1:在服務器B 下執行以下命令為啟動成功
D:empiperf-3.1.3-win64
λ iperf3.exe -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
測試過程1:在客戶端A 下執行以下命令
D:empiperf-3.1.3-win64
λ iperf3.exe -c 192.168.1.105
Connecting to host 192.168.1.105, port 5201
[ 4] local 192.168.1.103 port 62191 connected to 192.168.1.105 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 11.5 MBytes 96.4 Mbits/sec
[ 4] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec
[ 4] 2.00-3.00 sec 11.2 MBytes 94.4 Mbits/sec
[ 4] 3.00-4.00 sec 11.4 MBytes 95.4 Mbits/sec
[ 4] 4.00-5.00 sec 11.2 MBytes 94.3 Mbits/sec
[ 4] 5.00-6.00 sec 11.4 MBytes 95.3 Mbits/sec
[ 4] 6.00-7.00 sec 11.2 MBytes 94.4 Mbits/sec
[ 4] 7.00-8.00 sec 11.4 MBytes 95.4 Mbits/sec
[ 4] 8.00-9.00 sec 11.2 MBytes 94.4 Mbits/sec
[ 4] 9.00-10.00 sec 11.4 MBytes 95.4 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 113 MBytes 95.0 Mbits/sec sender
[ 4] 0.00-10.00 sec 113 MBytes 94.9 Mbits/sec receiver
iperf Done.
測試結論:95/8=11.875MB/s客戶端A 和 服務器B(192.168.1.105)的帶寬約為 11MB/秒;
===測試演示1結束===
===測試演示2開始===
環境說明1:window10下的客戶端A 和 centerOS下的服務器B
環境準備1:在服務器B 下執行以下命令為啟動成功
[root@cent7dev1-70 app]# rpm -ivh iperf3-3.1.3-1.fc24.x86_64.rpm
準備中... ################################# [100%]
正在升級/安裝...
1:iperf3-3.1.3-1.fc24 ################################# [100%]
[root@cent7dev1-70 app]# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
測試過程1:在客戶端A 下執行以下命令
D:empiperf-3.1.3-win64
λ iperf3.exe -c 192.168.1.70
Connecting to host 192.168.1.70, port 5201
[ 4] local 192.168.1.103 port 63622 connected to 192.168.1.70 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 113 MBytes 950 Mbits/sec
[ 4] 1.00-2.00 sec 113 MBytes 947 Mbits/sec
[ 4] 2.00-3.00 sec 113 MBytes 948 Mbits/sec
[ 4] 3.00-4.00 sec 111 MBytes 932 Mbits/sec
[ 4] 4.00-5.00 sec 111 MBytes 930 Mbits/sec
[ 4] 5.00-6.00 sec 113 MBytes 946 Mbits/sec
[ 4] 6.00-7.00 sec 113 MBytes 949 Mbits/sec
[ 4] 7.00-8.00 sec 113 MBytes 945 Mbits/sec
[ 4] 8.00-9.00 sec 111 MBytes 932 Mbits/sec
[ 4] 9.00-10.00 sec 113 MBytes 948 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec sender
[ 4] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec receiver
iperf Done.
測試結論:943/8=117.875MB/s客戶端A 和 服務器B(192.168.1.70)的帶寬約為 117MB/秒;
===測試演示2結束===
參考鏈接:
《netperf 與網絡性能測量》https://www.ibm.com/developerworks/cn/linux/l-netperf/
《Linux下3種常用的網絡測速工具》https://blog.csdn.net/g6U8W7p06dCO99fQ3/article/details/106030202
《局域網帶寬測試工具——iperf》https://blog.csdn.net/xihuanyuye/article/details/85009816
《Mb(全稱為Mbps)與MB(Mbytes)的區別》https://blog.csdn.net/joeyon1985/article/details/51513643
記得關注我,我會持續為大家分享更多精彩內容。ヾ(@^▽^@)ノ
總結
以上是生活随笔為你收集整理的4测试命令_局域网带宽测试工具-iPerf3的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: cad工具箱详细讲解_2019CAD教程
- 下一篇: 荒野行动捏脸数据怎么导入