Content-type: text/html
runon - Runs a command on a specific CPU or processor set
runon cpu_num command [argument...]
runon -p pset_id [-x] command [argument...]
The runon utility runs the specified command (command) on the specified CPU (cpu_num). The argument variable specifies any options or arguments for the specified command. All the threads created by the command inherit the CPU binding to the specified CPU (cpu_num), including threads created as the result of a fork.
If the
-p
option is used, the specified
command
is bound to a processor set rather than to a specific
processor. Because a processor set can contain more than one processor, the
-p
option is useful for multi-threaded applications. In addition,
you can use the
-x
option to specify exclusive access to a
processor set.
Binds to a processor set instead of a processor. You must
specify the processor set identification number (pset_id),
which is a unique integer that identifies the processor set and is returned
by the
pset_create
command.
Specifies exclusive use of a processor set.
Commands: pset_assign_cpu(1), pset_assign_pid(1), pset_create(1), pset_info(1), psradm(8)
Files: processor_sets(4)