Trying bound multiprocessing
- Use the -C or -R option (or both) to the
on
utility to start a shell on a specific set of processors:
on -C 0 ksh
- Start some new processes from this shell.
Note that they run only on the first processor.
- Use the -C or -R option (or both) to
slay
to change the runmask for one of these processes.
Note that the process runs only on the processors that you just specified,
while any children run on the processors you specified for the shell.
- Use the -C or -R option (or both)
and the -i option to
slay
to change the runmask and inherit mask for one of these processes.
Note that the process and its children run only on the newly specified
processors.