Posts Tagged ‘cpulimit’

Limit application CPU usage

How to use CPUlimit to set limitations on CPU usage for applications on Linux.

Monitor the CPU usage of applications that we use, it is recommended if you need to maintain a good performance on your system, sometimes in our system we have applications that should not stop working and we need some free resources on your computer for them. Linux can prevent other applications to consume these resources and the applications work properly within a CPU limit.

To install in Debian:

$ aptitude install cpulimit

To install it on any other Linux distribution follow this:

$ wget http://downloads.sourceforge.net/cpulimit/cpulimit-1.1.tar.gz
$ tar-zxf cpulimit * xxx.tar.gz
$ cd cpulimit-xxx
$ make

Use it
To use it, you will need to know the name of the application or PID, once you know it:
Examples of use

Tags: