Linux and Unix priocntrl command
Quick links
About priocntrl
Syntax
Examples
Related commands
Linux and Unix main page
Display's or set scheduling parameters of specified process(es)
priocntrl [-l] [-d] [-s] [-e] [-i idtype] [idlist] [-c class] [class-specific options] [arguments]
| -l | Display a list of the classes currently configured in the system along with class-specific information about each class. The format of the class specific information displayed is described under USAGE. | ||||||||||||||||
| -d | Display the scheduling parameters associated with a set of processes. | ||||||||||||||||
| -s | Set the scheduling parameters associated with a set of processes. | ||||||||||||||||
| -e | Execute a specified command with the class and scheduling parameters associated with a set of processes. | ||||||||||||||||
| -i idtype | This option together with the idlist arguments (if any), specify one or more processes to which the priocntl command is to apply. The interpretation of idlist depends on the value of idtype. The valid idtype arguments and corresponding interpretations of idlist are as follows:
If the -i idtype option is omitted when using the -d or -s options the default idtype of pid is assumed. | ||||||||||||||||
| -c class | Specifies the class to be set. (The valid class arguments are RT for real-time or TS for time-sharing or IA for inter-active.) If the specified class is not already configured, it will automatically be configured. | ||||||||||||||||
| class-specific options | The valid class-specific options for setting real-time parameters are:
The valid class-specific options for setting time-sharing parameters are:
The valid class-specific options for setting inter-active
| ||||||||||||||||
| arguments | Additional arguments to the priocntrl command. |
priocntl -s -c RT -t 1 -r 10 -i idtype idlist
Sets the class of any non-real-time processes selected by idtype and idlist to real-time and sets their real-time priority to the default value of 0.
