iperf3测带宽质量
2013-07-09Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能。Iperf具有多种参数和UDP特性,可以根据需要调整。Iperf可以报告带宽,延迟抖动和数据包丢失。Iperf was developed as a modern alternative for measuring TCP and UDP bandwidth performance.
Iperf is a handy and reliable command line utility designed to measure bandwidth performance and to tweak various TCP related parameters, as well as UDP characteristics.
The application doesn’t need to be installed; the EXE file that it comes packed in is portable, which means it doesn’t affect your computer registry. Being a command line utility, it can only run from a command prompt window
1、iperf 分为,unix/linux/windows/android/mac等版,unix/linux版更新比较快
2、windows现在已经更新到了iperf3
iperf-3.1.3-win64
https://iperf.fr/iperf-download.php#windows
wget https://iperf.fr/download/windows/iperf-3.1.3-win64.zip
3、yum -y install iperf3
4、使用
./iperf3 -s 启动监听
./iperf -c host -i 1 -w 1M
下载
http://downloads.sourceforge.net/project/iperf/iperf-2.0.5.tar.gz
举例:
1)TCP测试
服务器执行:./iperf -s -i 1 -w 1M
客户端执行:./iperf -c host -i 1 -w 1M
其中-w表示TCP window size,host需替换成服务器地址。
2)UDP测试
服务器执行:./iperf -u -s
客户端执行:./iperf -u -c 10.255.255.251 -b 900M -i 1 -w 1M -t 60
其中-b表示使用多少带宽,1G的线路你可以使用900M进行测试。
参考:
http://sourceforge.net/projects/iperf/
http://code.google.com/p/iperf/
http://www.softpedia.com/get/Network-Tools/Misc-Networking-Tools/Iperf.shtml
相关日志
- nagios4.3.4升级4.4.1
- centos7配置网络nmcli无法使用
- Linux下怎么查看16进制文件
- shell中获得当前用户名
- nagios 4.08配置步骤
- awk和sed实例
- linux查看当前使用的shell
- wget同步FTP
- date -d
- CentOS配置vsftpd
- "tar --exclude"
- base64
- tar – 复制目录及文件
- shell Cli Shortcuts
- Windows快捷键
- windows sc command
- Displays the UUID of a computer
- history记录添加时间戳
- dstat
- getent
- lastb命令
- set -o vi
- Linpack and Flops
- grep几个小技巧
- Linux Swap ,add ,delete and move
- Sed的常用命令语法 (6)
- linux命令行自动补齐 (6)
- wildcard"*"号的用法 (1)
- !$
- 回车符和换行符区别 (1)
- 监控工具nmon (1)
- awk to print all row to one line (8)
- reg命令给windows添加环境变量 (2)
- 统计文件行数的命令 (1)
- linux历史命令 (1)
- linux命令行TAB自动补全功能 (9)
- tar命令实例 (1)
- linux常用命令 (6)
- expr命令实例 (1)
- cut命令实例 (1)
- Linux下chkconfig命令详解 (1)
- vi或sed的批量替换 (1)
- xargs命令实例 (3)
- grep 用正则表达式实例 (2)
- linux add swap by file (1)
- sed-grep-awk (1)