HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)
m
mpsched(1) mpsched(1)
one of the following values.
RR Round robin launch policy. Under this policy, successive child processes are
launched in a round robin fashion across the other locality domains in the system
relative to creating thread.
LL Least loaded launch policy. Under this policy, child processes are launched on the
least loaded node in the system at the time of creation.
FILL Fill first launch policy. Under this policy, successive processed are launched on
the same locality domain as their parent until one has been launched on each pro-
cessor in the locality domain. At that point, new processes are created on the
next locality domain.
PACKED Packed launch. Under this policy, successive processes are launched on the same
locality domain as their parent. A different domain is never selected.
NONE No special policy. The default HP-UX launch policy is used.
-T policy Apply the specified policy to the threads of the process. The scheduling policies are the same
as for the
-P option except that they apply to newly created threads instead of processes.
Also, thread policies can only be specified on commands launched from the command line of
mpsched. The option can be used with the -P, -l, and -c
options.
Operands
The command-line operands are:
command A command including its arguments.
RETURN VALUE
mpsched returns exit status 0 if command is successfully scheduled or -1 if it fails.
EXAMPLES
Execute the a.out file on processor 2:
mpsched -c 2 a.out
Set the process launch policy for the existing process with pid 24217 to round robin:
mpsched -P RR -p 24217
Bind the processes with pids 1247 and 1842 to processor 4:
mpsched -c 4 -p 1247 -p 1842
AUTHOR
mpsched was developed by HP.
SEE ALSO
getprivgrp(1), setprivgrp(1M), fork(2), getprivgrp(2), mpctl(2), privgrp(4).
Section 1−−570 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005