iperf 网速测速

apt install iperf
# iperf --version
iperf version 2.0.10 (2 June 2018) pthreads
  • 服务端
# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
  • 客户端 iperf -c 服务端ip
# iperf -c 192.168.1.100
------------------------------------------------------------
Client connecting to 192.168.1.100, TCP port 5001
TCP window size: 2.50 MByte (default)
------------------------------------------------------------
[  3] local 192.168.1.102 port 51788 connected with 192.168.1.100 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   996 MBytes   835 Mbits/sec

参考:

  1. Linux下3种常用的网络测速工具
  2. 网络性能测试工具Iperf介绍

猜你喜欢

转载自blog.csdn.net/u010953692/article/details/108279276