Iperf 是一個網絡性能測試工具。Iperf可以測試最大TCP和UDP帶寬性能,具有多種參數和UDP特性,可以根據需要調整,可以報告帶寬、延遲抖動和數據包丟失。
使用環境:vps是centos7_64位系統標準安裝,如果提示沒有wget、rpm、yum命令請自行安裝,系統update的iperf是3.1.3版本,默認安裝2.0
專注于為中小企業提供網站設計、成都網站建設服務,電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業柳林免費做網站提供優質的服務。我們立足成都,凝聚了一批互聯網行業人才,有力地推動了千余家企業的穩健成長,幫助中小企業通過網站建設實現規模擴充和轉變。
安裝iperf:
[root@fq ~]# wget https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm
--2020-03-01 11:10:00-- https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm
Resolving iperf.fr (iperf.fr)... 213.246.63.45, 2a00:c70:1:213:246:63:45:2
Connecting to iperf.fr (iperf.fr)|213.246.63.45|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78686 (77K) [application/x-redhat-package-manager]
Saving to: ‘iperf3-3.1.3-1.fc24.x86_64.rpm’
100%[=======================================>] 78,686 144KB/s in 0.5s
2020-03-01 11:10:01 (144 KB/s) - ‘iperf3-3.1.3-1.fc24.x86_64.rpm’ saved [78686/78686]
[root@fq ~]# rpm -Uvh iperf3-3.1.3-1.fc24.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:iperf3-3.1.3-1.fc24 ################################# [100%][root@fq ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Dependencies Resolved
=================================================================================
Package Arch Version Repository Size
=================================================================================
Updating:
iperf3 x86_64 3.1.7-2.el7 base 79 k
Transaction Summary
=================================================================================
Upgrade 1 Package
Total download size: 79 kIs this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
iperf3-3.1.7-2.el7.x86_64.rpm | 79 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Updating : iperf3-3.1.7-2.el7.x86_64 1/2
Cleanup : iperf3-3.1.3-1.fc24.x86_64 2/2
Verifying : iperf3-3.1.7-2.el7.x86_64 1/2
Verifying : iperf3-3.1.3-1.fc24.x86_64 2/2
Updated:
iperf3.x86_64 0:3.1.7-2.el7
Complete![root@fq ~]# yum install iperf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Dependencies Resolved
=================================================================================
Package Arch Version Repository Size
=================================================================================
Installing:
iperf x86_64 2.0.13-1.el7 epel 86 k
Transaction Summary
=================================================================================
Install 1 Package
Total download size: 86 k
Installed size: 185 k
Is this ok [y/d/N]: y
Downloading packages:
iperf-2.0.13-1.el7.x86_64.rpm | 86 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : iperf-2.0.13-1.el7.x86_64 1/1
Verifying : iperf-2.0.13-1.el7.x86_64 1/1
Installed:
iperf.x86_64 0:2.0.13-1.el7
[root@fq ~]# iperf -v
[root@fq ~]# iperf -s -u
[ 3] local 10.140.0.3 port 5001 connected with 182.120.21.91 port 64702
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 0.0-60.3 sec 75.3 MBytes 10.5 Mbits/sec 15.785 ms 456497/510203 (89%)
網頁標題:centos7中如何安裝iPerf測速軟件?
本文地址:http://vcdvsql.cn/article12/pdiigc.html
成都網站建設公司_創新互聯,為您提供做網站、網站維護、建站公司、小程序開發、動態網站、App設計
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯