Server Fault is a question and answer site for system and network administrators. 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

Using nice merely gives a "guideline" to the OS, not a hard requirement of priority (ie, if nothing else is begging for attention a nice level of 19 will utilize the full CPU).

Is there a way to absolutely cap a process to, say, no more than 10% of the CPU?

share|improve this question
up vote 2 down vote accepted

You can use cpulimit.

I usually just stick with nice though: if it's running by itself, I don't really care if it's taking up 100%

share|improve this answer

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.