
Process Priority Setter
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A script that lists all processes and allows the user to change the priority a process has. Requires zenity.
The script will prompt for root password, display a list of processes and request a PID and then a priority.
Normally the Linux kernel decides which processes should get the most CPU time than others but with this script you can set one process to use more or less CPU.
Higher values mean less CPU is devoted to that process and the opposite is also true. 0 is the default value.
Feedback is appreciated.
10 years ago
v0.2 changed the process list dialog to be more readable
10 years ago
v0.2 changed the process list dialog to be more readable
zlatkart
10 years ago
Report
HoKaze
10 years ago
So we want to change how much of the CPU they take up, right? Decreasing CPU time means the video converter will now run slower, but not take up as much CPU or produce lots of heat.
So with this script it brings up a window displaying all processes from all users (I know it doesn't look very readable at the moment, I intend on looking into changing that). The idea is that you look for the process you want to change the priority of for the CPU. So find the process and look at its PID.
Type the PID into the box and then it will ask you for the priority. 0 is default and negative numbers like -5 can be used. Typing in -5 will make that process use more CPU whilst 5 would make it use less CPU.
Does this explain it?
Report