troubleshooting Question

How to append an output to existing file with DOS and IPerf

Avatar of Member_2_7966113
Member_2_7966113 asked on
Microsoft DOSNetworkingCisco* iperf
2 Comments1 Solution665 ViewsLast Modified:
Hello Experts,

In the attached batch file I would like to run the three iperf commands:

C:\Users\..\iperf-3.1.3-win32\iperf3 -c 192.168.1.129 -i 1 -t 60 -u -b 1M > iperf-3.csv
C:\Users\..\iperf-3.1.3-win32\iperf3 -c 192.168.1.129 -i 1 -t 60 -u -b 2M > iperf-3.csv
C:\Users\..\iperf-3.1.3-win32\iperf3 -c 192.168.1.129 -i 1 -t 60 -u -b 3M > iperf-3.csv

You will notice that the first iperf commands runs with 1M bandwidth, the second runs with 2M and the third runs with 3M. They all write to a file called iperf-3.csv.

The problem is when I run all three commands in a batch file only the last output from the, C:\Users\..\iperf-3.1.3-win32\iperf3 -c 192.168.1.129 -i 1 -t 60 -u -b 3M > iperf-3.csv is included in the iperf3-.csv file.

Can someone show me how to configure the batch file so that all three outputs are included in the output file 'iperf-3.csv'.

Thank you

Regards
bandwidthtest.zip
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros