0

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!

#/bin/sh
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

1 Answers1

0

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

setenforce 1
  • 1,200
  • 6
  • 10