critical impact:
pset commands - not supported; use psrset (CrUn374)
Problem description
The processor set commands on Tru64 UNIX do not exist on HP-UX.
However, a replacement exists in the psrset command.
Processor sets are collections of processors used to provide a finer granularity for process scheduling on multiprocessor systems. The commands that Tru64 UNIX and HP-UX provide for managing processor sets are different, but they provide similar functionality. Tru64 UNIX provides several commands; HP-UX provides a single command,
psrset. Identifiers
 pset_assign_cpu |
 pset_create |
 pset_info |
 pset_assign_pid |
 pset_destroy |
 runon |
Old behavior
# Create a processor set, assign processor 1 to it, bind a process
# to it, and later destroy it.
pset_create
.
.
.
pset_assign_cpu $pset 1
pset_assign_pid $pset $pid
.
.
.
pset_destroy $pset
# Display processor set information.
pset_info
# Run an application on a processor set.
runon -p $app_pset app
See also
Solution description
Use the psrset command on HP-UX.
HP-UX provides almost all the functionality of the Tru64 UNIX processor set implementation, as well as some additional features like non-root processor sets and the ability to assign all processes owned by a user to a processor set.
The HP-UX Processor Sets white paper provides details and describes how processor sets are integrated with HP software products like Process Resource Manager (PRM). New behavior
# Create a processor set, assign processor 1 to it, bind a process
# to it, and later destroy it.
psrset -c
.
.
.
psrset -a $pset 1
psrset -b $pset $pid
.
.
.
psrset -d $pset
# Display processor set information.
psrset -i
# Run an application on its own processor set.
psrset -e $app_pset app
See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| CMD |
Make, Script |
any HP-UX 11i version |
critical |
unavailable |
|