Saturday, April 11, 2009

Changing Process Priority on Mac OS X

On Windows I used to bring up the Task Manager (Ctrl-Shift-Esc) and quickly change the priority of a process, e.g. to a lower priority so that some process doesn't make the machine feel slow when some CPU intensive task takes over.

On Mac OS X I thought I would fire up the Activity Monitor and right click to change the priority. Apparently it's not that easy. I fired up google and found out that I need to get the PID from Activity Monitor and then launch a terminal and use the renice command.

E.g. sudo renice +1 -p 3692

A process can have a priority between +20 (lowest priority) and -20 (highest priority). 0 is the default priority. The above will make the the process with PID 3692 with a slightly lower priority.

3 comments:

javieth said...

I liked this blog because is easy understandable and very useful. for me Os X is the best software that i proved before. I really like this kind of technology because is not complex to use.
buy viagra

Penis Enlargement Pills said...

Erectile Dysfunction FAQ's

Impotence, or penile erectile dysfunction, in men is not as rare as one would think it is.
In fact, one out of ten men around the world is affected by this condition. It is not exclusive to old men either. Impotence is caused not just by physical factors,
but mental factors as well.
Exercising on a regular basis and eating healthy food will increase your ability to sustain prolonged physical effort and we all know that sex is effort.
Smoking, frequently drinking large quantities of alcohol, taking recreational drugs and lack of exercising will sap your stamina and also slow down the flow of blood.
Penis exercises can be used for maintaining fitness, preventing or controlling premature ejaculation and increasing the length and girth of the penis.
by penis enlargement pills you can overcome these problems and not only that you can also enlarge, extend also to strengthen your penis and premature ejaculation will not exist anymore for you.
visit http://www.factspenisenlargement.com for more info.

pedro velasquez said...

On Windows I used to bring up the Task Managerdominical costa rica tours (Ctrl-Shift-Esc) and quickly change the priority of a process, e.g. to a lower priority so that some process doesn't make the machine feel slow when some CPU intensive task takes over.On Mac OS X I thought I would fire up the Activity Monitor and right click to change the priority. Apparently it's not that easy. I fired up google and found out that I need to get the PID from Activity Monitor and then launch a terminal and use the renice command.
http://www.dominicalcostaricatours.com