HP-UX Processor Sets

HP-UX Processor Sets 13
WRITE
User can modify the processor set attributes and configuration,
destroy the processor set.
The following bit values are used for the access bit mask:
PSET_OWNER_READ
The processor set owner has READ access.
PSET_OWNER_WRITE
The processor set owner has WRITE access.
PSET_OWNER_EXEC
The processor set owner has EXEC access.
PSET_GROUP_READ
All users in the processor set owner’s group
have READ access.
PSET_GROUP_WRITE
All users in processor set owners group have
WRITE access.
PSET_GROUP_EXEC
All users in processor set owner’s group have
EXEC access.
PSET_OTHER_READ
All others have READ access.
PSET_OTHER_WRITE
All others have WRITE access.
PSET_OTHER_EXEC
All others have EXEC access.
A newly created processor set provides READ and EXEC access for everyone, but
WRITE access only for the processor set owner.
PSET_ATTR_NONEMPTY
Indicates the behavior when a request is made to destroy a non-empty processor set.
A processor set is non-empty when it has at least one processor assigned to it. The
following values are supported:
PSET_ATTRVAL_DFLTPSET Reassign all processors in the processor set to
the Default Pset. Migrate all threads and
processes in the processor set to the Default Pset.
This is the default value for this attribute.
PSET_ATTRVAL_FAIL Fail the request with busy error if there are
threads or processes bound to the processor set
or if there are processors assigned to the
processor set.
PSET_ATTRVAL_FAILBUSY Fail the request with busy error only if there are
active threads or processes bound to the
processor set. Otherwise, perform the operation
by reassigning the processors in the processor set
to the Default Pset.