trickle

Limit bandwidth used by a command in Linux

If you’ve ever wanted to run a bandwidth intensive command (for example downloading system updates) but limit how much of the available bandwidth it can actually use then trickle may be what you’re after. Simply install it using sudo apt-get install trickle and then you can use it with the following syntax trickle -d X -u Y command where X is download limit in KB/s, Y is the upload limit in KB/s and command is the process you want to start limited to these bandwidth constraints.