• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

change priority of running processes?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Christoph

JAPH Senior
Joined
Oct 8, 2001
Location
Redmond, WA
I've noticed that Opera 6.01b1 eats up about 10-15% of my CPU cycles when I leave it doing nothing. Is there some program I can use to raise my Folding client's priority or lower Opera's when I'm not using it?
 

JaY_III

Senior of BX
Joined
Dec 17, 2000
i am just a linux newbie...
but the "nice" command lets you set the priority of any process running...

The "ps" command will give you a list of the processes......

"ps -l " will list all processes, and give you the priority that they are runnign with.... (under the PRI) colum)

If you could assign a higher number to it, then it sould have a lower prority....

"nice <command to lauch opera>" and that should add a value of 10 to decress the priority of Opera (by 10), or "nice -n <command to lauch opera> " were n is a number you chose.

Will this work?
I am not 100% sure, but it may be worth a try.
Like i said before, justa linux newbie myself
 

XWRed1

Senior Member
Joined
Oct 31, 2001
renice will let you change the priority of a running process. Read the man page for renice.
 
OP
Christoph

Christoph

JAPH Senior
Joined
Oct 8, 2001
Location
Redmond, WA
XWRed1 said:
renice will let you change the priority of a running process. Read the man page for renice.

Oh yeah. The man pages. Thanks.
Edit: I've got it now. Some page I had loaded had a flash ad that was eating up my cycles. I closed the page, and now Opera's happily running on 1.3-1.85% of my cycles, even with a higher priority than the folding client.
Thanks!
 
Last edited: