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

CPU, Memory, and IO Resources
CPU: Specifying Min and Max Limits (vPars A.04)
Chapter 6
176
CPU: Specifying Min and Max Limits
(vPars A.04)
The syntax to specify min and max CPUs assigned to a virtual partition remains the same.
-[a|m] cpu:::[min][:max]
where
a is adding (used with vparcreate)
m is modifying (used with vparmodify)
min is the minimum number of CPUs for the virtual partition to boot and the minimum
number of CPUs that must remained assigned to the partition
max is the maximum number of CPUs that can be assigned to the virtual partition
NOTE The virtual partition must be in the down state to set the min or max value.
Total is the total count of CPUs in the virtual partition.
The total count must always be greater than or equal to min and less than or equal to max.
Please see “CPU: A.04 Syntax, Rules, and Notes (vPars A.04)” on page 181 regarding the new concepts and
count rules for min.
Examples
To set the minimum number of CPUs to 2:
keira1# vparmodify -p keira2 -m cpu:::2
To set the minimum number of CPUs to 2 and the maximum to 4:
keira1# vparmodify -p keira2 -m cpu:::2:4