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

p
psrset(1M) psrset(1M)
-d pset_list
-d all
Destroys the specified list of processor sets (pset_list). When the
all option is specified, all the pro-
cessor sets in the system are destroyed. When the processor set has processors assigned, or there are
active processes/threads bound to the processor set, the behavior is defined by the value of the
NONEMPTY attribute. See the -t option to define
NONEMPTY. The possible attribute values for
NONEMPTY are as follows:
DFLTPSET Default behavior. Return all processors and threads/processes in the processor set to the
default set.
FAIL Fail the request if processor set has any processor assigned, or has active processes or
threads.
FAILBUSY Fail the request if there are active processes or threads bound to the processor set.
-e pset_id command [ argument_list ]
Executes the specified command in the specified processor set (pset_id). The effect is the same as
binding your shell to the target processor set, executing the command, and changing back to your ori-
ginal processor set. The command may have arguments listed in argument_list.
-f Forces the operation if the HP Process Resource Manager (HP PRM) is installed and configured. The
processor sets can also be configured by PRM. HP Process Resource Manager is documented in the
HP Process Resource Manager User’s Guide.
This option is applicable to all the configuration options to override the PRM. If the force flag is not
used with configuration options in the presence of PRM, then
psrset exits with an error message.
IMPORTANT: If the -f option is used, it must be specified before any other arguments are specified
to the psrset command.
-g pset_id pgid
Binds all the processes (including all their threads) belonging to the process group (pgid) to the
specified processor set (pset_id). This option is like explicitly listing all these processes with the
-b
option.
-i [pset_list]
Displays the processor assignments and attribute values for all processor sets specified in the list
(pset_list) or for all sets by default. If pset_list is not specified, then information for all processor 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 processor set. See the
-b option.
HP-UX 11i Version 1: September 2005 3 Hewlett-Packard Company Section 1M689