RUNON(1) RUNON(1)
NAME
runon - run a command on a particular cpu
SYNOPSIS
runon n command [ arguments ]
DESCRIPTION
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 hardware-
specific actions.
SEE ALSO
mpadmin(1), sysmp(2).
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