I have frontend in js where you can type in iperf
command and then POST
it to backend in java. Then use Runtime.getRuntime().exec()
to check users bandwidth, is it even possible or it's just not how iperf
works. My guessing is it is only possible to check server's bandwidth.
TL;DR
I want to to make online speed test using iperf
Asked
Active
Viewed 79 times
1

Grimalkin
- 21
- 6
-
1This is old, but might answer the question - https://github.com/esnet/iperf/issues/482 – James May 31 '22 at 12:27
-
Exactly what I've been looking for, just didn't know If it's doable thank you! – Grimalkin May 31 '22 at 13:30
1 Answers
1
You can try the experimental Network API https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/downlink

Oleksandr K
- 347
- 3
- 8