mpsched.1 (2010 09)
m
mpsched(1) mpsched(1)
-g Enable gang scheduling on the process. No other options should be used with
-g.
-h Print a help message.
-l locality-domain-id
Bind the specified processes/LWPs to the locality-domain listed. This will ensure that the
processes/LWPs always run on a processor within the specified locality domain. In the Pro-
cessor Set (pset) configured system, binding will be successful, if ldom to the process/LWP is
in same pset where process/LWP was bound.
This option can be used with the
-P
, -T, -p and -G options.
-p pid Specify process ID, pid . To use the
-p option, the caller must be a member of a group hav-
ing
PRIV_MPCTL access, be superuser, or have the same effective user ID as the pid. Speci-
fying a command instead of the
-p
option does not require special privileges. Multiple -p
options can be specified per command line, although each
-p option can take only a single
process ID.
-G lwpid Specify lightweight process ID, lwpid . To use the
-G option, the caller must be a member of
a group having
PRIV_MPCTL access, be superuser, or have the same effective user ID as the
lwpid. Multiple -G options can be specified per command line, although each
-G option can
take only a single lightweight process ID. The target LWP (lwpid ) can be in any process.
-q Query the system regarding process/LWP bindings. This will return information about
whether processes/LWP are bound to a processor or locality domain. It will also report on
the thread and process launch policies for the processes.
If this option is used in conjunction with
-p/-G then only those processes/LWPs specified
are queried respectively. If this option is specified alone, then the status of all processes on
the system that differ from the default settings are displayed.
-s Print the system hardware configuration. No other options should be specified.
-S Print the system topology at the locality domain, proximity set, socket and core level. No
other options should be specified.
-K Print the system topology at the socket level. No other options should be specified.
-F Print the system topology at the proximity set level. No other options should be specified.
-d Print the processors in the same locality domain as the processors specified in the argu-
ments. This option can be used with the -b, -r, and -k
options.
-b Print the processors in the same proximity set as the processors specified in the arguments.
This option can be used with the -d, -r, and -k
options.
-k Print the processors in the same socket as the processors specified in the arguments. This
option can be used with the -d, -b, and -r options.
-r Print the processors in the same core as the processors specified in the arguments. This
option can be used with the -d, -b, and -k options.
-u Unbind the specified processes/LWPs from any processor or locality domain bindings that
can be present. This option can be used only with -p or -G and no other options can be
specified.
-P policy Apply the specified policy to the processes. Launch policies affect the locality domain on
which a process is spawned. Refer to mpctl (2) manpage for details on launch policies.
This option can be used with the
-T, -p, -c, and -l options.
policy is one of the following values:
RR Round robin launch policy. Under this policy, successive direct child processes
of the specified command or process are launched in a round robin fashion
across the other locality domains in the system relative to creating process.
RR_TREE Tree based round robin launch policy. Under this policy, successive child
processes and their descendents are launched in a round robin fashion across
the other locality domains in the system relative to creating process.
LL Least loaded launch policy. Under this policy, child processes are launched on
the least loaded locality domain in the system at the time of creation.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010