|
» |
|
|
|
NAMEhpvmstatus — Display status information about one or
more virtual machines. SYNOPSIShpvmstatus [ -V -X -M ] [-v] hpvmstatus -D { -P vm-name -p vm-number } [ -V -X -M ] [-v] hpvmstatus -e { -P vm-name -p vm-number } [ -V -X -M ] [-v] hpvmstatus -i { -P vm-name -p vm-number } [ -V -X -M ] [-v] hpvmstatus -r { -P vm-name -p vm-number } [ -V -X -M ] [-v] hpvmstatus -d { -P vm-name -p vm-number } [ -V -X -M ] [-v] hpvmstatus -C { -P vm-name -p vm-number } [ -V -X -M ] [-v] [-D]
DESCRIPTION
The hpvmstatus command displays
information about the operational state and virtual hardware configuration
of the virtual machines on the VM Host. Information displayed by the hpvmstatus command includes the following:
Version of the command
(if you specify the -v option). Name of the virtual machine
(limited to 20 characters in summary format). State of the virtual machine.
The machine will be in one of the following states: On: The virtual machine is "powered on." It may be at its console prompt,
or it may have booted its operating system and be fully functional.
This is the normal state of a running virtual machine. Off: The virtual machine is fully halted. Invalid: The virtual machine configuration file is corrupted or invalid.
The configuration file must be corrected before this virtual machine
can be started.
Running condition of the
guest. The machine can be in one of the following conditions: EFI: — The virtual machines is running normally in Extensible
Firmware Interface (EFI). OS: — The virtual machine is running normally in the operating
system. ATTN! — The virtual machine may need attention because it is not
responding to interrupts.
Resources attached to
this virtual machine. Attributes assigned to
this virtual machine. Dynamic memory information,
if dynamic memory is enabled for this virtual machine.
The hpvmstatus command displays
the active configuration for guests that are on, including the resource
assignments that are currently in effect. For guests with a status
of off, the command displays the configuration to be used when the
guest in next booted.
The hpvmstatus command displays
variety of information:
To list all the virtual
machines that are on the VM Host, enter the hpvmstatus command without the -P, -p, -e, or -r option. To display detailed information
about a virtual machine, use the -P or -p option (without the -e, -r, or -d option) to specify the virtual machine. To display devices in
the same format used on the command line, use the -d option. To display a virtual machine's
log file, for either the VM Host or the specified virtual machine,
include the -e option. To display the virtual
machine's resource scheduling information, use the -r option. To display the mode the
scheduler is in, use the -S option.
To obtain a display in machine-readable format,
use the -M or -X option.
Only superusers can execute the hpvmstatus command.
Options
The following options can be specified only once.
The hpvmstatus command recognizes
the following options and arguments:
- -v
Displays the version number
of the hpvmstatus command. The version number is
displayed first, followed by information specified by other options. - -V
Displays detailed information
(verbose mode) about the virtual machines. The -V, -M, and -X options are mutually exclusive. - -M
Displays verbose attribute
and resource information in machine- readable format. Individual fields are separated by one of three delimiters: The colon (:) separates
each field and resource type. The semicolon (;) separates
subfields of a resource type. The comma (,) separates
individual items in a list of similar items.
The -V, -M,
and -X options are mutually exclusive. - -X
Displays verbose information
about attribute and resource in XML format. The -V, -M, and -X options are mutually exclusive. - -P vm-name
Specifies the name of
the virtual machine for which information is to be displayed. The -P and -p options are mutually exclusive. - -p vm-number
Specifies the number of
the virtual machine for which information is to be displayed. The vm_number is assigned when a virtual machine is
created and is displayed by the hpvmstatus command. The -P and -p options are mutually exclusive. - -D
Displays resource assignments
that takes effect the next time the virtual machine is started (deferred
mode). - -e
Displays the event log
for the VM Host or the specified virtual machine. The event log records
all changes to virtual machine configurations. - -i
This option, when used
with the -P option, prints statistics collected by
the monitor. Currently, these include vCPU percentage and durations
over the lifetime of the guest. - -r
Displays the CPU entitlement
information for the virtual machines, including: #vCPUs: The number of
virtual CPUs in this virtual machine. Entitlement: The amount
of CPU entitlement this virtual machine can use per virtual CPU. Note
that the displayed value may be slightly different than what was specified.
For example, the value can be rounded down to the nearest whole percentage
of CPU entitlement. Maximum: The maximum amount
of CPU entitlement this virtual machine can use. Note that the displayed
value may be slightly different than what was specified. For example,
the value may be rounded up to the nearest whole percentage of CPU
entitlement. If no maximum is set, the default is 100% or all the
CPU cycles. For example, a 1500Mhz CPU displays 1500Mhz. Percent Usage: The percentage
of the VM Host physical CPUs this virtual machine has used during
the last interval period. Cumulative Usage: The
number of VM Host CPU ticks this virtual machine has consumed since
the virtual machine was booted.
When you specify a virtual machine, the hpvmstatus command displays the following information for
each virtual CPU: Cumulative Usage: The
number of ticks this virtual CPU has consumed since the virtual machine
was booted. Guest percent: The CPU
percentage that the guest has consumed. Host percent: The CPU
percentage that the VM Host uses on behalf of the guest. Cycles achieved (in MHz). Sampling Interval: The
time between samples.
- -d
Displays the devices on
the specified virtual machine in the same format used on the command
line. - -S
Reports the VM Host scheduler
mode (CAPPED or NORMAL). If CAPPED, displays information about the
controller process. - -s
Displays the current VM
Host resources. - -m
Displays information about
the multiserver environment, including the Serviceguard identifier,
state, IP address, and host name. If the VM Host is not a Serviceguard
server, the following message is displayed: No HPVM multi-server environment configured. - -C
Displays the type of memory
each guest and VM Host is using: cell local memory, interleaved memory,
or none. If no guest name/number is specified, all are printed.
RETURN VALUES
The hpvmstatus command exits
with one of the following values:
- 0: Successful completion.
- 1: One or more error
conditions occurred.
DIAGNOSTICS
The hpvmstatus command displays
error messages on stderr for any of the following conditions:
An invalid option is specified. An invalid value is specified
for an option. The vm-name or vm-number does not exist, cannot be
accessed, is not a virtual machine, or is corrupt. A value was omitted for
an argument that requires one, or a value was supplied for an argument
that does not take one. The hpvmstatus command and the Integrity VM software are not at the same version
levels.
AUTHORS
The hpvmstatus command was
developed by the HP.
SEE ALSO
On the VM Host:
hpvm(5), hpvmclone(1M), hpvmcollect(1M), hpvmconsole(1M), hpvmcreate(1M), hpvmdevmgmt(1M), hpvmdevtranslate(1M), hpvmhostrdev(1M), hpvminfo(1M), hpvmmigrate(1M), hpvmmodify(1M), hpvmnet(1M), hpvmpubapi(3), hpvmremove(1M), hpvmresources(5), hpvmsar(1M), hpvmstart(1M), hpvmstop(1M), hpvmupgrade(1M), p2vassist(1M)
On the Integrity VM guest:
hpvmcollect(1M), hpvminfo(1M), hpvmmgmt(1M), hpvmpubapi(3)
|