Installing and Managing HP-UX Virtual Partitions (A.02.01)

Monitor and Shell Commands
Adding and Removing CPU Resources
Chapter 5 141
Adding and Removing CPU Resources
CPU Allocation Syntax In Brief
To understand how to assign CPUs, you need to understand the
command syntax. Below is a brief explanation of the CPU allocation
syntax for the vparcreate command. For complete information, see the
vparcreate (1M), vparmodify (1M), and vparresources (5) manpages.
Syntax for vparcreate
The vparcreate syntax for CPU allocation is:
vparcreate -p
partition_name
[-acpu::
total
] [-acpu:::
[min]
[:
[max]
] ]] [[-acpu:
hw_path
] ...]
where
min
is the number of CPUs bound to
partition_name
. The
default is 1.
total
is the total number of bound plus unbound CPUs assigned
to
partition_name
. The default is 1.
max
is the maximum number of bound plus unbound CPUs that
potentially can be added to the partition. The default is the
number of CPUs in the server.
1
1 <=
min
<=
total
<=
max
hw_path
is the hardware path of a bound CPU. If not speciļ¬ed,
the monitor chooses the hardware path.
Note on vparmodify Syntax
The vparmodify command follows a similar syntax, except vparmodify
allows the -m(modify) option as well as the -a(add) option.
1. when the monitor is running and you are not specifying an
alternate database. If the monitor is not running or you are
specifying an alternate database,
max
is 32767.