iperf3

iperf3—网络性能测试,使用方法

  1. windows 系统:
    解压缩iperf-3.1.3-win64.zip。并且把路径添加到环境变量的PATH中,暂时无法在文档外展示此内容,则在cmd 命令窗口可直接使用iperf3指令。
  2. linux 系统,32位(如XT):
    上传附件 iperf3_final.zip 到雷达中,在雷达内部执行:
    unzip iperf3_final.zip
    cd iperf3
    cp iperf3 /usr/bin
    cp lib* /usr/lib

则在雷达内可直接使用iperf3指令。
3. linux 系统,64位(如AT128):
上传附件 iperf3-aarch64.zip 到雷达中,在雷达内部执行:
unzip iperf3-aarch64.zip
cp iperf3 /usr/bin
cp lib* /usr/lib

则在雷达内可直接使用iperf3指令。
4. iperf3 常用指令:
启动服务端:iperf3 -s -p 12345 -i 5
启动客户端:iperf3 -c 192.168.1.201 -p 12345 -i 5 -t 50 –b 1000M
-p, --port # server port to listen on/connect to
-i, --interval # seconds between periodic bandwidth reports
-s, --server run in server mode
-c, --client run in client mode, connecting to
-t, --time # time in seconds to transmit for (default 10 secs)
-b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)
(default 1 Mbit/sec for UDP, unlimited for TCP)
(optional slash and packet count for burst mode)
-u, --udp use UDP rather than TCP
-h, --help show this message and quit

posted @ 2022-07-07 20:31  隐士无双  阅读(718)  评论(0)    收藏  举报