iperf3-python icon indicating copy to clipboard operation
iperf3-python copied to clipboard

How to set number of bytes to transmit (-n)

Open hu6360567 opened this issue 8 years ago • 2 comments

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'?

hu6360567 avatar Dec 23 '17 18:12 hu6360567

After working whole night, it seems not easy to parse iperf_test struct in python. I modified iperf_api to provides this in C.

hu6360567 avatar Dec 23 '17 23:12 hu6360567

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.

samhooke avatar Jun 13 '18 09:06 samhooke