实验环境:
--服务器1. hadoop6 (CentOS 6.5 X64)
--PC1: 自己的PC(iperf 有windows 版本)
--服务器2. hadoop1 (CentOS 6.5 X64)
下载: https://iperf.fr/iperf-download.php (iperf-3.0.11-source.tar.gz for Linux, iperf-3.0.11-win64.zip for windows)
安装server端(hadoop06)/client端(hadoop01) tar -xzvf ***.tar.gz, make, make install (标准安装)
开启服务器端命令:
--[root@hadoop06 iperf-3.0.11]# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
安装client for windows (解压,用CMD 运行)
测试(WINDOWS --> LINUX)
-- windows 平台
CMD: > iperf3.exe -c 10.XX.XX.206
Connecting to host 10.XX.XX.206, port 5201
[ 4] local 10.XX.XX.171 port 60429 connected to 10.XX.XX.206 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.01 se