View previous topic :: View next topic |
Author |
Message |
james n00b
Joined: 24 Apr 2002 Posts: 56 Location: Middle Smithfield, PA
|
Posted: Wed Jun 05, 2002 2:00 am Post subject: (Re)Nice Settings |
|
|
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 |
|
|
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Wed Jun 05, 2002 2:21 am Post subject: |
|
|
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 |
|
|
james n00b
Joined: 24 Apr 2002 Posts: 56 Location: Middle Smithfield, PA
|
Posted: Wed Jun 05, 2002 2:22 am Post subject: |
|
|
Worth a try.
Thanks _________________ 17 Opps It's 19 now Gentoo's and counting |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Jun 05, 2002 2:07 pm Post subject: Re: (Re)Nice Settings |
|
|
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 |
|
|
|