psrset.1m (2010 09)
p
psrset(1M) psrset(1M)
belong to the processor sets. If pset_list is not specified, then information for all proces-
sor sets are displayed. If no options are specified for the
psrset command, then the -i
option is assumed.
-n pset_id Enables external I/O interrupts for all processors assigned to the specified processor set
(pset_id ).
-p [processor_list
]
Displays the processor set assignment for all processors specified in the list
(processor_list) or for all processors by default.
-q [pid_list] Displays the processor set binding for all processes specified in the list (pid_list ) or for all
processes by default.
-r processor_list
Removes the specified list of processors (processor_list) from their current processor set,
and reassigns them back to the default set. This option is identical to
-a 0
processor_list
.
-t pset_id attribute_name
=attribute_value
Changes the attribute value of the specified attribute on the specified processor set
(pset_id ). Some values may not be be supported. The following attributes are supported:
OWNID Change owner of the specified processor set.
GRPID Change group id of the specified processor set.
PERM Change access permissions of the specified processor set.
NONEMPTY Define behavior on processor destroy request. See the -d option.
EMPTY Define behavior on request to bind a process or thread to an empty proces-
sor set. See the -b option.
LASTSPU Define behavior on request to remove the last processor from a processor
set. See -a option.
LCPU Define the logical processor (LCPU) attribute in the target processor set.
On a multi-threaded processor core, each hardware thread is represented
as an LCPU. If LCPU is disabled, the processor cores in the target proces-
sor set behave as a single threaded core. However, when LCPU is enabled,
the processor cores in the target pset have hardware multi-threading
enabled.
-u pid_list Unbinds pid_list , the specified list of processes (including all their threads), from their
current processor set returning them to the default set. The -u option is identical to -b
0 pid_list.
-F pset_id Disables external I/O interrupts for all processors assigned to the specified processor set
(pset_id ).
-U pset_id uid Binds all the processes (including all their threads) owned by the user id (uid) to the
specified processor set (pset_id ). This option is like explicitly listing all these processes
with -b option.
Real Time Extensions Options
The following options are related to Real Time Extensions (RTE) for processor sets:
-l Lists all the processor sets that are configured as RTE processor set.
-m pset_id Marks a processor set with the identification number, pset_id , as an RTE processor set.
The processors that are part of the pset_id processor set become RTSPU’s. The default
processor set which contains 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:
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3