pbind(1M) — ADMINISTRATOR COMMANDS
NAME
pbind − bind a process to a processor
SYNOPSIS
pbind -b processor-id pid . . .
pbind -u pid . . .
pbind -q [ pid . . . ]
DESCRIPTION
If the -b option is specified, pbind binds the processes specified by the process ID (pid) arguments to the processor specified by processor-id. Processes that are bound to a processor will run only on that processor, except briefly when the process requires a resource that only another processor can provide. The processor may run other processes in addition to those which are bound to it.
If there are already processes exclusively bound to the specified processor (for example, by pexbind), the pbind command will fail.
If a process specified by pid is already bound to a different processor, the binding for that process shall be changed to the specified processor. If, however, a process specified by pid is bound exclusively (for example, by pexbind) the pbind command will fail.
If the -u option is specified, any binding will be removed for the specified processes.
Users can control only those processes they own unless the user is a super-user.
If the -q option is specified, pbind displays binding information for the specified pids. If no pids are specified, pbind displays binding information for the entire system.
NOTES
The format of the output displayed by pbind -q may change significantly in a future release. Applications and shell scripts should not depend on this format.
SEE ALSO
pexbind(1M)
processor_bind(2) in the Programmer’s Supplement
— Multiprocessing