Ubuntu 16.04 limits the download/upload speed of a software via trickle

Source: Internet
Author: User

Under Linux No Windows uses 360 to limit the speed of a certain software.

But through the trickle can set the speed of a software, but the premise is through the trickle command and the launch of the software can not be set up halfway.

For example, a lot of video sites have been implemented by peers, so you can use the Trickle command to start a browser when watching a video to achieve speed limit.

1. Installation:

sudo apt-get install trickle

2. Command format

Command

3. Command use

Limit the download bandwidth of the wget to 100Kbps

trickle-d wget Http://cdimage.ubuntu.com/daily/current/precise-alternate-i386.iso

Start Firefox to limit its download to 25kb/s and upload badwidth to 15kb/s

Trickle-d 25-u Firefox

4, use Wondershaper limit the speed of the whole net card

Personal view, in fact, this is not necessary, so the limit is not as direct as the speed limit to the faster.

#安装
sudo apt-get install Wondershaper
#20# Clear the speed limit for em1 network connection sudo wondershaper clear   em1

Reference:

Http://ubuntuportal.com/2012/01/how-i-manage-bandwidth-using-trickle-on-ubuntu.html

Http://www.2cto.com/os/201312/266749.html

http://blog.csdn.net/wjcquking/article/details/44787249 (Wondershaper)

Ubuntu 16.04 limits the download/upload speed of a software via trickle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.