The hpvmstatus command displays information about the operational state and virtual hardware configuration of the virtual machines on the VSP. Only superusers can execute the hpvmstatus command.
hpvmstatus command with options and example
The following options can be specified with hpvmstatus command. The hpvmstatus command recognizes the following options and arguments. Here are some examples
- Summarize information about all the virtual machines on the VSP:
# hpvmstatus [Virtual Machines] Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory ==================== ===== ==== ======= ========= ====== ===== ===== ======= vPar0001 1 VP HPUX Off (NA) 1 2 1 11 GB vPar0002 2 VP HPUX Off 3 0 0 3 GB guest1 3 SH HPUX On 1 2 1 2 GB
- Display detailed information about a virtual machine named vPar001.
# hpvmstatus -P vPar001 -V [Virtual Machine Details] Virtual Machine Name : vPar0001 Virtual Machine UUID : e4f786d4-14ad-11e1-b600-0017a4776014 Virtual Machine ID : 1 Virtual Machine Label : VM's Model Name : Integrity Virtual Partition VM's Serial Number : VM01147000 VM's Config Version : 6.10.0 VM's Config Label : HPVM B.06.10 LR Virtual Machine Type : vPar Has reserved resources : Yes Configuration is active : No Operating System : HPUX OS Version Number : State : Off (NA) Start type : Manual Console type : vt100-plus Guest's hostname : Guest's vNIC IP Preference : Guest's IPv4 address : EFI location : /opt/hpvm/guest-images/common/efi Pattern File location : /opt/hpvm/guest-images/common/patterns.vmmpat vPar/VM revision : 1 Running on serverid : 0 ... [Memory Details] Total memory : 10 GB Minimum memory limit : 1024 MB Maximum memory limit : 4096 GB Reserved memory : 64 MB Minimum reserved limit : 32 MB Maximum reserved limit : 128 GB VHPT Size : 4 MB Overhead memory : 128 MB Floating memory : 8 GB ... Floating memory is displayed only for a vPar guest.
- Displays the attributes and resources attached to the virtual machine config2:
# hpvmstatus -P config2 [Virtual Machine Details] Virtual Machine Name VM # Type OS Type State ==================== ===== ==== ======= ======== config2 1 SH HPUX On (OS) [Runnable Status Details] Runnable status : Runnable [Remote Console] Remote Console not configured [Authorized Administrators] Oper Groups: Admin Groups: Oper Users: Admin Users: [Virtual CPU Details] #vCPUs Entitlement Maximum ====== =========== ======= 1 10.0% 100.0% [Memory Details] Total Reserved Overhead Memory Memory Memory ======= ======== ======== 5 GB 64 MB 128 MB [Dynamic Memory Information] Minimum Target Memory Maximum Memory Memory Entitlement Memory =========== =========== =========== =========== 512 MB 2106 MB 2 GB 5120 MB [Storage Interface Details] Guest Physical Device Adaptor Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= disk avio_stor 0 1 0 0 0 disk /dev/rdisk/disk5 [Network Interface Details] Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address ========= ========== ========== ======= === === === ================= vswitch avio_lan 192net 1 0 1 0 de-ad-be-ef-17-67 [Direct I/O Interface Details] Guest Physical Device Adapter Bus Dev Ftn Mac Address Storage Device ======= ======= === === === ================= ========= =========== [Misc Interface Details] Guest Physical Device Adaptor Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= serial com1 tty console
- Displays the attributes and resources attached to the virtual partition vPar0002:
# hpvmstatus -P vPar0002 [Virtual Machine Details] Virtual Machine Name VM # Type OS Type State ==================== ===== ==== ======= ======== vPar0002 3 VP HPUX On (OS) [Runnable Status Details] Runnable status : Runnable [Remote Console] Remote Console not configured [Authorized Administrators] Oper Groups : Admin Groups : Oper Users : Admin Users : [Virtual CPU Details] #vCPUs Ent Min Ent Max ====== ======= ======= 1 100.0% 100.0% [Memory Details] Total Reserved Overhead Floating Memory Memory Memory Memory ======= ======== ======== ======== 8192 MB 64 MB 128 MB 6144 MB [Storage Interface Details] vPar/VM Physical Device Adapter Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= disk avio_stor 0 2 0 0 0 disk /dev/rdisk/disk30 disk avio_stor 0 2 0 1 0 disk /dev/rdisk/disk31 [Network Interface Details] Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address ========= ========== ===================== ======= === === === ================= vswitch avio_lan switch2 1 0 0 0 2a-ef-27-62-5d-24 [Direct I/O Interface Details] vPar/VM Physical Device Adapter Bus Dev Ftn Mac Address Storage Device ======= ======= === === === ================= ========= =========== [Misc Interface Details] vPar/VM Physical Device Adapter Bus Dev Ftn Tgt Lun Storage Device ======= ========== === === === === === ========= ========================= serial com1 tty console
- Displays information about a gWLM managed VSP:
# hpvmstatus -S HPVM scheduler is running in CAPPED mode. Controller process information: PID=13456,NAME=gWLM,HOST=acms.work.com,URL=http://acms.work.com:280 NONVM group entitlement information: Percent Cumulative #VCPUs Entitlement Maximum Usage Usage ====== =========== ======= ======= ================ 0 108MHz 1300MHz 1.9% 469302 Startable virtual machines: vm1,vm2,vm3,vm4,vm5,vm6
- Displays the system resources on the VSP system:
# hpvmstatus -s [HPVM Server System Resources] vPar/VM types supported by this VSP = vPar Processor speed = 1596 Mhz Total physical memory = 16278 Mbytes Total number of operable system cores = 8 CPU cores allocated for VSP = 1 CPU cores allocated for vPars and VMs = 7 CPU cores currently in use or reserved for later use = 3 Available VSP memory = 915 Mbytes Available swap space = 7077 Mbytes Total memory allocated for vPars and VMs = 12480 Mbytes Memory in use by vPars and VMs = 3136 Mbytes Available memory for vPars and VMs = 9344 Mbytes Available memory for 4 (max avail.) CPU VM = 9152 Mbytes Available memory for 4 (max avail.) CPU vPar = 9216 Mbytes Maximum vcpus for an HP-UX virtual machine = 7 Maximum vcpus for an OpenVMS virtual machine = 7 Maximum available vcpus for a VM = 4 Available CPU cores for a virtual partition = 4 Available entitlement for a 1 way virtual machine = 1596 Mhz Available entitlement for a 2 way virtual machine = 1596 Mhz Available entitlement for a 3 way virtual machine = 1596 Mhz Available entitlement for a 4 way virtual machine = 1596 Mhz Note: If resources are over-committed (more resources are reserved than are available in the resource pools), that status will be displayed in this output as *** VSP resources are over- committed ***. If this occurs, either the lost resources must be brought back on or resources reserved by existing vPars or VMs must be reduced based on the overcommitments displayed in hpvmstatus -s.
- Display NPIV related limits and label information for all NPIV capable FC ports on the VSP:
# hpvmstatus -n Physical HBA - /dev/fcd0 Bandwidth entitlement support - YES Bandwidth entitlement for pFC - 1.56% Bandwidth in use by active NPIVs' - 0.00% Active NPIV vHBAs with entitlement set - 0 Active NPIV vHBAs without entitlement - 0 Bandwidth available - 98.44% Label - DEFAULT_POOL
- Display NPIV related limits and label information for all NPIV capable FC ports on the VSP in verbose mode:
# hpvmstatus -n -V Physical HBA - /dev/fcd0 Bandwidth entitlement support - YES Bandwidth entitlement for pFC - 1.56% Bandwidth in use by active NPIVs' - 0.00% Active NPIV vHBAs with entitlement set - 0 Active NPIV vHBAs without entitlement - 0 Bandwidth available - 98.44% NPIV vHBAs with 12.5% bandwidth entitlement that may be activated - 4 NPIV vHBAs with 25.0% bandwidth entitlement that may be activated - 3 NPIV vHBAs with 37.5% bandwidth entitlement that may be activated - 2 NPIV vHBAs with 50.0% bandwidth entitlement that may be activated - 1 NPIV vHBAs with 62.5% bandwidth entitlement that may be activated - 1 NPIV vHBAs with 75.0% bandwidth entitlement that may be activated - 1 NPIV vHBAs with 87.5% bandwidth entitlement that may be activated - 1 NPIV vHBAs without bandwidth entitlement that may be activated - 48 Label - DEFAULT_POOL
- Display NPIV related limits and label information for all NPIV capable FC ports on the VSP in the machine-readable format:
# hpvmstatus -n -M /dev/fcd8:YES:1.56:0.00:0:0:98.44:4:3:2:1:1:1:1:48:DEFAULT_POOL /dev/fcd9:YES:1.56:37.50:1:0:60.94:3:2:1:1:0:0:0:39:DEFAULT_POOL /dev/fcd4:NO:DEFAULT_POOL /dev/fcd5:NO:DEFAULT_POOL
- Displays the Serviceguard server information on the VSP system:
# hpvmstatus -m HPVM Multi-server environment Server group name : HPVM-SG-hpvm_sg_1131 Server group uuid : 45e2a680-af14-11dc-9e00-00306e4a831c This server's identifier: 2 Server_id : 2 Server_state : 1 Server_ipaddr : 10.0.128.116 Server_hostname : troop Server_uuid : 12345678-abcd-1234-abcd-123456789012 Server_physical_uuid : 58d03f5d-79ed-11d9-b720-17c097e9e0d0 Server_id : 1 Server_state : 1 Server_ipaddr : 10.0.128.159 Server_hostname : company Server_uuid : 23456789-abcd-5678-efgh-123456789012 Server_physical_uuid : 560ef4fb-7e16-11d7-86df-c7749ef083ae
- Displays the devices on the specified virtual machine in the same format used on the command line:
# hpvmstatus -P hpvm0014 -d [Virtual Machine Devices] [Storage Interface Details] disk:scsi::0,0,1:lv:/dev/vg01/rlv2 [Network Interface Details] network:lan:0,1,0x56A3E9D74099:vswitch:myswitch [Direct I/O Interface Details] [Misc Interface Details] serial:com1::tty:console
- Displays the allocation of CPU and memory resources, based on available logical domains or interleaved memory. Note that none is displayed when the VM or vPar is not active.
# hpvmstatus -C Virtual Machine Name VM # ldom # Total Memory(MB) SPU Ids ===================== ======= ====== ================ ========== vPar0001 1 1 2048 12,14 vPar0001 1 2 1024 2,4 vPar0002 2 none 3072 none
- Displays the resource reservations of vPars or VMs.
# hpvmstatus -R [Virtual Machines] Rsrv Virtual Machine Name VM # State Type Rsrc Start #vCPU Memory ==================== ===== ========= ==== ==== ===== ====== ======= vPar0001 1 On (EFI) VP Yes Man 4@100 3 GB vPar0002 2 Off VP Yes Man 3@100 3 GB guest1 3 Off SH No Man 1@10 2 GB
Last Updated: August 24, 2020