Member_2_7966113
asked on
How to append an output to existing file with DOS and IPerf
Hello Experts,
In the attached batch file I would like to run the three iperf commands:
C:\Users\..\iperf-3.1.3-wi n32\iperf3 -c 192.168.1.129 -i 1 -t 60 -u -b 1M > iperf-3.csv
C:\Users\..\iperf-3.1.3-wi n32\iperf3 -c 192.168.1.129 -i 1 -t 60 -u -b 2M > iperf-3.csv
C:\Users\..\iperf-3.1.3-wi n32\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-wi n32\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
In the attached batch file I would like to run the three iperf commands:
C:\Users\..\iperf-3.1.3-wi
C:\Users\..\iperf-3.1.3-wi
C:\Users\..\iperf-3.1.3-wi
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-wi
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER