iperf based on linux

来源:互联网 发布:asp网页源码 编辑:程序博客网 时间:2024/04/30 21:58

1.iperf is used network testing tools.

If you don't need to debug iperf, goto step 2, else goto step 3.


2.install

apt-get install iperf

should execute apt-get update if meeting the following problem.

Unable to locate packet ...


3.download iperf from https://sourceforge.net/projects/iperf/?source=typ_redirect

3.1 tar -zxvf iperf-2.0.5.tar.gz

3.2 cd iperf-2.0.5

3.3 ./configure

meet the following errors:

checking whether the C++ compiler works... no
configure: error: in `/home/wlan/Downloads/iperf-2.0.5':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

apt-get install g++  can fix this problem.
3.4 make

3.5 make install

iperf install ok

4. iperf execute command

4.1 iperf server

     iperf -s

4.2 iperf client

      iperf -c server-ip

0 0
原创粉丝点击