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?

link|improve this question

feedback

1 Answer

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%

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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