Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Re)Nice Settings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
james
n00b
n00b


Joined: 24 Apr 2002
Posts: 56
Location: Middle Smithfield, PA

PostPosted: Wed Jun 05, 2002 2:00 am    Post subject: (Re)Nice Settings Reply with quote

Hi All.

Any ideas how to change the "nice" process priority of a prgram?

I would like to "tune" everything so the changes stay after a reboot.

TIA,

J
_________________
17 Opps It's 19 now ;-) Gentoo's and counting


Last edited by james on Wed Jun 05, 2002 2:23 am; edited 1 time in total
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 411
Location: Springville, UT

PostPosted: Wed Jun 05, 2002 2:21 am    Post subject: Reply with quote

Best I can think of is create a bash script to start the program that automatically re-nice's the process for you. Not sure how this would work for things like Galeon or Mozilla that spawn a bunch of threads though.
Back to top
View user's profile Send private message
james
n00b
n00b


Joined: 24 Apr 2002
Posts: 56
Location: Middle Smithfield, PA

PostPosted: Wed Jun 05, 2002 2:22 am    Post subject: Reply with quote

Worth a try.

Thanks
_________________
17 Opps It's 19 now ;-) Gentoo's and counting
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed Jun 05, 2002 2:07 pm    Post subject: Re: (Re)Nice Settings Reply with quote

james wrote:
Any ideas how to change the "nice" process priority of a prgram?


Create an alias in the user's .bash_profile file (or whatever shell you use) for something like the following:

Code:
alias my_proggy = "nice -19 my_proggy"


--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum