Setting process priority

Use the nice command to change the value of the priority of a thread by changing the nice values of its process that is used to determine the overall priority of the thread. A child process inherits the nice value from the parent process. You can view the nice value with the ps -l command.

The schedo parameters can also affect the priority of the thread. You use the schedo flag to decay the value of a thread, and you use the schedo -r flag to set a penalty factor on the thread.

The schedo command should only be used by someone who is proficient with the AIX operating system or under the guidance of an AIX professional. By changing some of the values through the schedo command, a system can become unusable.

For information about setting threads, see: