HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

p
psrset(1M) psrset(1M)
NAME
psrset - create and manage processor sets
SYNOPSIS
psrset [-f] -a pset_id processor_list
psrset [-f] -b pset_id pid_list
psrset [-f] -c [processor_list]
psrset [-f] -d pset_list
psrset [-f] -d all
psrset [-f] -e pset_id command [argument_list]
psrset [-f] -g pset_id pgid
psrset [-i][pset_list ]
psrset [-f] -n pset_id
psrset -p [processor_list]
psrset -q [pid_list ]
psrset [-f] -r processor_list
psrset [-f] -t pset_id attribute_name
=attribute_value
psrset [-f] -u pid_list
psrset [-f] -F pset_id
psrset [-f] -U pset_id uid
Real Time Extensions Commands
psrset [-f] -l
psrset [-f] -m pset_id
psrset [-f] -s pset_id
psrset [-f] -R [processor_list]
DESCRIPTION
The
psrset utility controls the management of processor sets. Processor sets allow a subset of proces-
sors in the system to be isolated for exclusive use by specified threads and processes. Processes may now
be bound to groups of processors rather than just one. Each processor set represents a separate schedul-
ing allocation domain. Schedulers in each processor set work independently; there is no load balancing
performed across processor set boundary by the system.
The default processor set (0) always exists and may not be destroyed. All processes and processors at sys-
tem init time start out in the system default processor set. For this reason processor 0 may never be
removed from the default group. (Hence this feature is of no value on a single processor system.)
A processor belongs to exactly one processor set at a time, and it can be reassigned from one processor set
to another processor set dynamically with appropriate privileges. There can exist processor sets with no
processors. This may be temporary due to resource needs elsewhere in the system. (See pset_assign (2)
for details).
A process or a thread is bound to exactly one processor at a time, and their binding can be changed from
one processor set to another with appropriate privileges. All threads of a process need not belong to the
same processor set. (See pset_bind (2) for details).
A processor set has access permissions, and only the users with appropriate permissions may perform
operations on processor sets. A superuser or a
PRIV_PSET privilege user may perform any operation on
processor sets. (See pset_create (2) and pset_setattr (2) for details).
Options
If no options are specified for the
psrset command, then the -i option is assumed (see below).
The following options are supported:
Section 1M618 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003