LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Limit CPU on Certain Apps? (http://www.linuxquestions.org/questions/linux-newbie-8/limit-cpu-on-certain-apps-113305/)

GT_Onizuka 11-07-2003 12:29 AM

Limit CPU on Certain Apps?
 
Is there a way to limit the amount of CPU a certain application can take? If so, how?

exodist 11-07-2003 01:03 AM

nice
I never used it, but nice has settings 0-20 0 means normal, the higher the number the lower the priority, 20 will only use cpu when nothing else is.

Joey.Dale 11-16-2003 02:01 PM

try man nice

qwijibow 11-16-2003 02:05 PM

Quote:

but nice has settings 0-20
nice actually has settings (-19) to 20

negative numbers will cause the program to grab a larger share of cpu power than it would otherwise be allowed, and positive numbers cause it to grab less cpu than it would normally be allowed.


All times are GMT -5. The time now is 05:16 AM.