m

mpsched(1)

mpsched(1)

FILL Fill ®rst launch policy. Under this policy, successive processed 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.

-Tpolicy

Apply the speci®ed policy to the threads of the process. The scheduling policies are the same as for the -Poption except that they apply to newly created threads instead of processes. Also, thread policies may only be speci®ed on commands launched from the command line of mpsched. The option may be used with the -P, -p, -l, and -coptions.

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 ®le 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 1550

− 2 −

HP-UX Release 11i: December 2000