![parallels client connection parallels client connection](https://www.parallels.com/blogs/ras/app/uploads/2017/04/screenshot-2-android-582x1024.jpg)
This shows the process ID's for the three iperf instances. To see the process running with iperf in the name run: How do you stop it later? Use pgrep and pkill.
![parallels client connection parallels client connection](https://kb.parallels.com/Attachments/kcs-37544/22.png)
In this case, each server will save a file, giving: server-report-5001.txt, server-report-5002.txt, server-report-5003.txt.Įach server instance runs in the background. Rather than outputing to standard output, the results from iperf are saved in a file. So in the example the servers will be running on ports 5001, 50. By default it starts each server on a different port, starting at 5001. The script iperf-parallel-servers automates this process.
![parallels client connection parallels client connection](https://profittools.zendesk.com/hc/article_attachments/360034535234/mceclip3.png)
It is not too hard to manually start multiple instances of the iperf server with different ports in different terminals and leave them running for clients to connect to. If you want to be able to execute the scripts from any directory then you'll need to add them to a directory in your path. This assumes the scripts are in your current working directory. (meaning in the current directory) and followed by any options (see next sections). To execute the scripts simply type its name, preceeded by. $ chmod u+x iperf-parallel-servers iperf-parallel-clients iperf-serial-clients To execute the scripts, make sure you have eXecute permissions by running: I'll assume you save them as: iperf-parallel-servers, iperf-parallel-clients and iperf-serial-clients. You should be able to modify them to suit your needs.ĭownload and save the scripts. They are by no means perfect and only have been tested briefly between two Ubuntu 12.04 computers. The scripts are examples that I quickly prepared. The following gives some example Bash scripts to automate some of the tasks. Of course you can manually do this in a terminal. However sometimes you may want to use different configurations or run tests in serial, e.g. Using the -P or -parallel option in the client, you can run multiple parallel tests from the client to a single server. Iperf, the network performance testing software, by default runs a single test from a client to server (e.g.