RUNON(1) RUNON(1)
runon - run a command on a particular cpu
runon n command [ arguments ]
runon executes command, assigning it to run only on cpu n, where n varies
between 0 and the number of processors on the system minus one. (For
single-processor systems, then, there is only cpu 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 hardwarespecific
actions.
runon can not run a command on a cpu that is part of a cpuset unless the
user has permission to access the cpuset.
mpadmin(1), sysmp(2), miser_cpuset(1).
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.
PPPPaaaaggggeeee 1111 [ Back ]
|