RUNON(1)RUNON(1)NAMErunon - run a command on a particular processor
SYNOPSISrunon n command [ arguments ]
DESCRIPTIONrunon executes command, assigning it to run only on processor n, where n
varies between 0 and the number of processors on the system minus one.
(For single-processor systems, then, there is only processor 0.)
This CPU affinity is inherited across fork() and exec() system calls. A
sysmp(2) call can change the CPU affinity. Note that command may still
run on other processors, briefly, to perform I/O or other hardware-
specific actions.
runon can not run a command on a processor that is part of a cpuset
unless the user has permission to access the cpuset. runon can not run a
command on a processor that has been excluded from the system via the
mpadmin command.
For additional information concerning threads assigned or bound to a CPU,
consult the MP_MUSTRUN description of the sysmp(2) man page.
SEE ALSOmpadmin(1), sysmp(2), miser_cpuset(1).
WARNINGS
In the case of the following command
runon 1 command1; command2
runon applies only to command1. The command
runon 2 (command1; command2)
is syntactically incorrect.
Page 1