Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm wondering, is there way to tell a process how much processor power it can take?

The problem is I'm converting video with Arista (video converter) and I'm annoyed by the fan running like crazy, when I look at the task monitor, it's taking over 92% of CPU.

Can I (somehow) tell it that it can take just 20%?


share|improve this question
up vote 20 down vote accepted

There is cpulimit tool (also is present in debian repo and should be in other distros).

It's usage is pretty simple:

cpulimit -p PID -l MAX_CPU_LEVEL

You can also use process name, or full path to binary. Details you can find on the man page.

share|improve this answer
ha-ha :) , works perfectly, thanks +1 – equivalent8 Jun 18 '12 at 10:15
The code at the noted URL has not been updated in quite some time. Another group has picked it up and continued development at limitcpu.sf.net. – James Sneeringer Jun 18 '12 at 17:14

Another way is by using the (relatively) new kernel interface called cgroups (wikipedia article here). It allows more fine grained control of how much cpu/memory/io/etc a process/user/group is allowed to consume.

share|improve this answer

While this may not be exactly what you are looking for, you can use the renice program to change the program priority to prevent it from slowing down other applications on the system. renice -n 20 -p [pid], where [pid] is replaced with the process ID of Arista would likely lower its' resource usage, and would definitely decrease system slowdown.

share|improve this answer
The OP is not complaining about the process slowing down other applications but about the fan running like crazy, renice can't do anything against the latter. At best it will slow down the video converter but the competing processes (if any) will maintain the CPU load as before. – jlliagre Sep 7 '15 at 19:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.