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.