iperf3-python
iperf3-python copied to clipboard
How to set number of bytes to transmit (-n)
Different from getting available bandwidth, I'd like to find how much time it used to transfer specific volume of data.
Is there any way to set the parameter as the cli command of '-n'?
After working whole night, it seems not easy to parse iperf_test struct in python. I modified iperf_api to provides this in C.
iperf3-python uses libiperf, which does not currently expose all functionality that is available through the iperf CLI - this is a known iperf issue: esnet/iperf#595.
I intend to submit pull requests which address that issue and this one soon.