I create this script to limit bandwidth all traffic through card eth1, I can test download speed with wget command but don't know how to test upload speed. Can anyone answer my question or show me how to test upload speed? Thanks for your help!

sudo tc qdisc add dev eth1 root handle 1: htb default 10
sudo tc class add dev eth1 parent 1:0 classid 1:10 htb rate 150kbps ceil 150kbps
  • Umm...upload something to a remote system??!? – EEAA Sep 27 '16 at 3:44
  • Thanks for your help, I will try uploading to remote host – You're awesome Sep 27 '16 at 4:15

To test accurately, you could use a public iperf server, with an iperf client on your computer.

  • thanks for your help, but I can't connect to any iperf public server. Can you help me? My command: iperf bouygues.testdebit.info -p 5200 – You're awesome Oct 4 '16 at 3:32
  • Try with iperf -c bouygues.testdebit.info -p 5200 to specify you are running iperf as a client. – Sanael Oct 4 '16 at 9:37

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.