Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

pset commands - not supported; use psrset (CrUn374)

CMD Impacts

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.


UNIX Commandspset_assign_cpu UNIX Commandspset_create UNIX Commandspset_info
UNIX Commandspset_assign_pid UNIX Commandspset_destroy UNIX Commandsrunon

Old behavior

# Create a processor set, assign processor 1 to it, bind a process
# to it, and later destroy it.

pset_assign_cpu $pset 1
pset_assign_pid $pset $pid
pset_destroy $pset

# Display processor set information.


# 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
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.