HP-UX Virtual Partitions Administrator Guide (includes A.05.09) (5900-2188, March 2012)
Table 27 possible commands to arrive at vparstatus output (continued)
1
1
...
totat==5 (2 assigned by hardware path and
2 assigned by Monitor and
1 assigned by CLP))
# vparboot -p keira1
assume I/O and memory have been assigned so that
keira1
can boot. at boot time:
min==1, max==12
user-assigned CPU is 1.10
boot processor is chosen by Monitor to be the
other
user-assigned CPU at 1.12
2 CPUs assigned by Monitor are 0.10 and 0.11
1 CPU assigned by the Monitor by CLP is 1.11
Table 28 possible commands to arrive at vparstatus output
another set of possible commands in sequence to create vparstatus
output
vparstatus output (final)
# vparcreate -p keira1 -a cpu:1.12
(total==1)
keira1 # vparstatus -p keira1 -v
[Virtual Partition Details]
Name: keira1
# vparboot -p keira1 State: Up
(assume I/O and memory have been assigned so thatAttributes:
keira1Dynamic,Autoboot,Autosearch
can boot. at this point the cpu assigned by Kernel Path: /stand/vmunix
hw_pathBoot Opts:
(1.12) is the only CPU, so it becomes the boot
processor.[CPU Details]
Note that 1.12 is only listed once; it is notMin/Max: 1/12
listedUser assigned [Path]: 1.10
under both “Boot Processor” and “User Assigned”)Boot processor [Path]: 1.12
Monitor assigned [Path]: 0.10
# vparmodify -p keira1 -a cpu:1.10 0.11
(1.10 is added and listed as “user assigned”) 1.11
Non-cell-specific:
# vparmodify -p keira1 -a cpu::2 User assigned [Count]: 2
(0.10 and 0.11 are chosen by the Monitor and Monitor assigned [Count]: 2
added)Cell-specific [Count]: Cell
ID/Count
# vparmodify -p keira1 -a cell:1:cpu::1 1
(1.11 is added and listed under “Cell-specific”) 1
...
vparstatus: Dual-Core CPUs
You can see the sibling and virtual partition assignment using vparstatus-d. If you do not have
a dual-core system, the output will show dashes (-) for the sibling and assignment information.
Example
# vparstatus -d
CPU Cell Config Sibling Information
path CPU HPA ID Status Assigned to Path /vPar name
===== ================== ==== ====== ================== =======================
0.10 0xfffffffffc078000 0 E vpuma02 - -
0.11 0xfffffffffc07a000 0 E vpuma01 - -
0.12 0xfffffffffc07c000 0 E vpuma04 - -
0.13 0xfffffffffc07e000 0 E - - -
...
When you do have dual-core system, the vparstatus -d output will look similar to the following:
# vparstatus -d
CPU Cell Config Sibling Information
path CPU HPA ID Status Assigned to Path /vPar name
Commands: Displaying vPars Monitor and Resource Information (vparstatus) 141