added network speed limits script

This commit is contained in:
2024-04-06 04:51:10 -05:00
parent af0c78ff49
commit a6179d6be2

11
network-speed-limits.txt Normal file
View File

@@ -0,0 +1,11 @@
# check speed
speedtest
# view eth0 speed
nload eth0
# limit upload to 50Mbit
tc qdisc add dev eth0 root tbf rate 500kbit burst 16kbit latency 50ms
# remove limit on upload
tc qdisc del dev eth0 root