Associate
- Joined
- 9 Mar 2008
- Posts
- 1,039
Hi,
Im pretty new to linux and I want to be able to change the priority of a process so that it executes above all else - i dont really care if it slows desktop performance or chokes other programs, like changing the priority in windows to 'high'. If its any help, i am using Ubuntu 8.04.1 server with the GNOME gui. Googling reveals the nice commands can be used. I have tried using the following as root to change the priority to the highest possible:
sudo su -
renice -19 <process PID>
This sets the nice value of the process to -19 (and according to the readout from the 'top' command sets its 'PR' value to 1), but using other apps/general desktop input really slows the process im interested in down. Changing the priority in the system manager does nothing as far as i can make out. Is there a way around this? As i said, i dont mind at all if it really chokes desktop performance. Im sure there must be a way to do it, but i cannot work out what it is!
Thanks, any help/advice is appreciated.
Im pretty new to linux and I want to be able to change the priority of a process so that it executes above all else - i dont really care if it slows desktop performance or chokes other programs, like changing the priority in windows to 'high'. If its any help, i am using Ubuntu 8.04.1 server with the GNOME gui. Googling reveals the nice commands can be used. I have tried using the following as root to change the priority to the highest possible:
sudo su -
renice -19 <process PID>
This sets the nice value of the process to -19 (and according to the readout from the 'top' command sets its 'PR' value to 1), but using other apps/general desktop input really slows the process im interested in down. Changing the priority in the system manager does nothing as far as i can make out. Is there a way around this? As i said, i dont mind at all if it really chokes desktop performance. Im sure there must be a way to do it, but i cannot work out what it is!
Thanks, any help/advice is appreciated.