Running iperf3 through adb shell console gives unable to create a new stream: No such file or directory

I am trying to get iperf3 stats through adb shell on the command line for automation purposes. My input on the command line is adb shell iperf3 -s -i 1 -f m -p5555

I do not get any output and get said error 'iperf3: error - unable to create a new stream: No such file or directory'

However if I adb shell into the devices, then just do "iperf3 -s -i 1 -f m -p5555" inside the android linux shell, it is fine. It feels like some kind of security issue but im stumped. I have chmod 777 iperf3 and followed up other thread to make sure environmental variables include TMPDIR,TEMP,TMP.



Read more here: https://stackoverflow.com/questions/64398755/running-iperf3-through-adb-shell-console-gives-unable-to-create-a-new-stream-no

Content Attribution

This content was originally published by Jonathan C at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: