HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

p
psrset(1M) psrset(1M)
The following options are supported only if the Real Time Extensions (RTE) to processor sets has been
enabled:
-l Lists all the processor sets that are configured as RTE processor set.
The feature is available only if the Real Time Extensions to processors sets has been enabled.
-m pset_id
Marks a processor set with the identification number, pset_id, as an RTE processor set. The proces-
sors that are part of the pset_id processor set become
RTSPU’s. The default processor set which con-
tains processor 0 may not be configured as an RTE processor set. The processor set may or may not
have processors assigned at this point. If pset has processors assigned to it at time of request,
these processors are made unavailable to the kernel daemons. External I/O interrupts and pending
callouts on processors in pset are reassigned to processors in non-RTE processor sets in the system.
The processor set attribute values are changed to default values for an RTE processor set.
The various failure conditions could be:
The configuring application does not have root privileges.
RTE is not enabled.
The pset_id is valid.
The feature is available only if the Real Time Extensions to processors sets has been enabled.
-s pset_id
Un-marks the processor set with the identification number, pset_id, as an RTE processor set. The
processor set is not destroyed.
The feature is available only if the Real Time Extensions to processors sets has been enabled.
-R [processor_list
]
Creates a new RTE processor set and displays the processor set identification number (pset_id) for the
new processor set. If a list of processors (processor_list) are specified on the command line, they are
assigned to the newly created processor set.
The feature is available only if the Real Time Extensions to processors sets has been enabled.
The following options are also supported and apply whether or not RTE has been enabled.
-a pset_id processor_list
Assigns processor_list to pset_id. processor_list is the list of processors, and pset_id is the processor
set identification number. The processors are taken out of their current processor set and are reas-
signed to the specified processor set. Processor 0 may not be reassigned.
If the processor being reassigned is the last processor in its current processor set, the behavior is
defined by the
LASTSPU attribute. See the -t option to define LASTSPU. The possible attribute
values for
LASTSPU are as follows:
DFLTPSET
Default behavior. Reassign the processor to the specified processor set, and return the
active processes/threads in the processor set to the default set.
FAIL Fail the request.
-b pset_id pid_list
Binds pid_list to pset_id. pid_list is the specified list of processes (including all their threads), and
pset_id is the specified processor set. Bindings are inherited, so newly created threads and processes
will inherit their processor set binding from their parents.
If the target processor (pset_id) has no processors assigned, the behavior is defined by the EMPTY
attribute. See the -t option to define EMPTY. The possible attribute values for EMPTY are as fol-
lows:
FAIL Default behavior. Fail the request.
-c [processor_list]
Creates a new processor set and displays the processor set identification number (pset_id) for the new
processor set. If a list of processors (processor_list) are specified on the command line, they are
assigned to the newly created processor set.
Section 1M688 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005