Setting process priority
Use the nice command to run a program with modified scheduling priority. A child process inherits the nice value from the parent process. You can view the nice value with the ps -l command.
Use the renice command to alter priority of running processes.
Use taskset to set a process's CPU affinity.
Use chrt to change real-time attributes of a process.
For information about process priority, see:
- man page for nice command.
- man page for renice command.
- man page for taskset command.
- man page for chrt command.