HP-UX Virtual Partitions Administrator Guide (includes A.05.09) (5900-2188, March 2012)

Example
To create the virtual partition keira2 with 3 CPUs, set num to 3:
keira1# vparcreate -p keira2 -a cpu::3 ...
vparmodify
With the vparmodify command, you can use the:
-a option to add num CPUs to the virtual partition,
-d option to delete num CPUs from the virtual partition,
-m option to modify (set) to num the number of CPUs assigned to the partition. The vPars
Monitor automatically will add or delete CPUs to or from the virtual partition to reach num
CPUs.
Examples
If an existing partition has 2 CPUs and you would like to set the number of CPUs to 3, you
can modify the number of CPUs assigned to the partition by using the -m option and setting
num to 3:
keira1# vparmodify -p keira2 -m cpu::3
To set the number of CPUs back to two, use the -m option and set num to 2:
keira1# vparmodify -p keira2 -m cpu::2
If you would like to add 1 CPU to an existing partition, regardless of its current CPU count,
you can add 1 CPU by using the -a option and setting num to 1:
keira1# vparmodify -p keira2 -a cpu::1
To remove the added CPU from the partition, use the -d option and set num to 1:
keira1# vparmodify -p keira2 -d cpu::1
CPU: Adding or Deleting by CLP (Cell Local Processor)
Similar to CLM (cell local memory), CLP (cell local processor) refers to CPUs on a specific cell. The
syntax to specify CLP is:
-[a|d] cell:cell_ID:cpu::num
where:
-a is adding
-d is deleting
cell_ID is the cell ID
num is the number of CPUs from the cell to be added to or deleted from the virtual partition.
Note that the num CPUs need to be available on the cell as well as the system before
they can be added. To see whether they are available or already allocated, use the
vparstatus command.
CPU: Adding or Deleting by CLP (Cell Local Processor) 217