In the Linux system, if you browse the webpage when you download something, it will become very card. At this time, you need to limit the download speed. Trickle is a good broadband control tool. Let me introduce you to the method of using Trickle for Linux installation.
What
Trickle yes?
Trickle is a bandwidth control provider that limits the bandwidth of programs such as Firefox, FTP, SSH, and other devices that use network bandwidth. Do you want your YouTube music experience to affect your ftp downloads? If you don't want to, read on this article to learn how to install and use trickle on your machine.
How to install Trickle on Linux
The trickle tool has some dependencies. You must install the "libevent library" before installing and using trickle, but this library is on most current Linux machines. It has been installed by default.
On Debian/Ubuntu/Linux Mint
Run apt-get install trickle on a Debian/Ubuntu/Mint machine to install it. Make sure the source list has been updated and then install the app you want.
$ sudo apt-get update
$ sudo apt-get install trickle
On RHEL/CentOS/Fedora
First you need to update your system. Then use the following command to install trickle.
# yum update
# yum install trickle
How does Trickle work?
Trickle controls and limits the upload/download speed of applications by controlling the amount of socket data read and write. It uses another version of the BSD Sockets API, but the difference is that trickle also manages socket calls.
Note that trickle uses dynamic linking and loading, so it is only useful for programs that use the “Glibc library. Since trickle can set the transmission delay of data on the socket, it can be used to limit the network bandwidth of an application.
What can Trickle do?
Trickle cannot be used to limit the bandwidth of applications that use the UDP protocol. It can only be used for TCP connections, but you should know that it is not valid for all TCP connections. If you have been reading this article carefully, you can guess what the reason is. Do you remember that trickle is only valid for using the Glibc library application?
Also, triggle can't work on executables that use static linking.
Determining if Trickle can run on a specific application
Since trickle can't limit the upload/download speed of each app, there should be a way to find out which trickle works.
The ldd tool can help us find out if a particular program uses the libc.so library. If the program uses this library, you can use trickle to limit its network bandwidth usage.
The ldd command is used to print the shared libraries required by each program. If you are a curious Linux Geek, you can use the man command to find out more about the ldd tool.
# man ldd
Filezilla is a program for transferring files using the ftp protocol. Can trickle be used to limit its download or upload speed? When you think about it, I use the following command to find out if trickle is available for filezilla.
# ldd filezilla
We all know that Linux can delete users and groups by using the userdel command, but sometimes it wi
rvm as a command-line tool, can provide a lot of convenience, is an inaccessible to
Do you know that one of the Linux system commands is a pppsetup command? Why is the
Ubuntu system installed Nvidia driver, you can switch dual graphics in the settings. The performance
Linux Mint Cinnamon uses vino-server to configure desktop sharing. Step
Ubuntu uses Steam Music method
Linux detection and mounting the second hard disk step
Ubuntu notebook energy-saving three tips
Steps to install IEs4Linux on Ubuntu 12.04
How to quickly clear Linux file content
What should I do if the chmsee installation fails under the Ubuntu system?
How do Linux systems configure IPv6 addresses?
The specific steps of hard disk partitioning under Linux
How to make a bootable img/iso image file on a Linux system
How to remove the "Secure Boot is not properly configured" display in Win8.1
Win7 system boot prompt winlogon.exe application error how to do
How to remove redundant startup items in win10 system
MSN shows the IP address of the other party
Win8 can not display the wallpaper after changing the lock screen wallpaper. The reason and solution
Teach you to upgrade the BIOS of the graphics card (2)
Solve the Win8 operating system can not log in tutorial
Windows7 powerful repairer function, after reading this, you no longer have to worry about reloading