Is it possible to set a new nice level of a running process with a known id?
Does this operation require root access, or just being the owner of the process?
|
Is it possible to set a new Does this operation require root access, or just being the owner of the process? |
||||
|
|
TerminalIf you're at a terminal you can use
A simple example would be
You can also pass it hard flags, but it follows that order
Priorities work on a scale of If you own the process then you won't need root - however, if the process is owned by another user or if you plan on changing the group/user of the process root (via |
|||||||||
|
GUI
Prior to 11.04: System > Administration > System Monitor. Choose Processes. The id's are shown in the image here:
And nice does not require sudo for increasing niceness if you own the task. It does if you need to decrease niceness. |
|||||||||
|
|
Usage of "renice" in terminal is as follows:
Using "sudo" before command "renice" elevates user to root level and an admin/root password will be required. So e.g. if you want to elevate process with PID (process ID) 2606 from Normal priority to High priority, you would type in terminal as follows:
|
|||
|
|