mpsched.1 (2010 09)

m
mpsched(1) mpsched(1)
FILL Fill first launch policy. Under this policy, successive direct child processes of
the specified command or process are launched on the same locality domain as
their parent until one has been launched on each processor in the locality
domain. At that point, new processes are created on the next locality domain.
FILL_TREE
Tree based Fill first launch policy. Under this policy, successive child processes
and their descendents are launched on the same locality domain as their parent
until one has been launched on each processor 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
Bind the Lightweight Processes with lwpids 12345 and 12346 to locality domain 2:
mpsched -l 2 -G 12345 -G 12346
Print the processors in the same proximity set as processors 0 and 4:
mpsched -b 0 4
Print the system topology at the locality domain, proximity set, socket, core and processor level:
mpsched -S
AUTHOR
mpsched was developed by HP.
SEE ALSO
getprivgrp(1), setprivgrp(1M), fork(2), getprivgrp(2), mpctl(2), pstat_getlwp(2), privgrp(4), gang_sched(7).
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3