HP-UX 11i Version 1.6 Release Notes

HP-UX Features
HP-UX Processor Sets
Chapter 3
43
NOTE These two options should be used along with -u, -q and -a
options. If these new options are used with any other options,
processor set information is not displayed.
top The top command has been enhanced to support the Processor Sets
functionality by adding two new options -p and -P.
The description of the new options are:
• The -p option takes the pset id as argument and displays load
averages and process state break down for system and processor
set pset_id. This option shows only the processes running on the
processor set pset_id.
•The -P option displays a column PSET before column CPU for
individual CPU information. Also it displays a column PSET,
before the column CPU for each process information.
uptime The uptime command has been enhanced to support the Processor Sets
functionality by adding one new option -p.
The -p option can be given with or without an argument. If given with
an argument, it takes pset id as an argument. The -p option prints the
current time, the length of time the system has been up, and the
number of users logged on to the system in the first line of the output.
The load averages over the last 1, 5, and 15 minutes for the psets given
in the command line, pset_list, are displayed in the subsequent lines. If
no arguments are given, the load averages are displayed for all the
psets in the system. If pset id of an empty pset is given in the command
line, corresponding message is displayed. The -p option cannot be used
with other options.
id The -P option of the id command has been enhanced to display correct
prmid in the presence of Processor Sets functionality. Also, the id
command has been modified to return non-zero return values on error
conditions and displays an usage message on incorrect usage.
rtsched Updated to support psets. A real-time thread only runs, or competes
for CPU's, within its pset.
The new Processor Sets command is:
psrset The psrset command is new and was developed for the Processor Sets
functionality. This command creates and manages processor sets on a
HP-UX system supporting Processor Sets functionality. The psrset
command supports different options which a user can use to perform
the following tasks:
Assign a processor to a given pset.
Bind a pid to a given pset.
Destroy the specified pset.
Execute a command on a given pset.