HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

Table 9-5 Options to the hpvmmgmt Command (continued)
Displays the version number of the hpvmmgmt command.-v
Displays detailed information (verbose mode) about the
virtual machines.
-V
Displays verbose attribute and resource information in a
machine-readable format.
-M
Displays verbose attribute and resource information in
the XML format.
-X
Specifies the guest RAM target, where:
0 indicates the guest dynamic memory will be reduced
to a comfortable minimum value.
start indicates the guest dynamic memory will be
set back to the boot time value.
amount is a specific target memory size for the guest.
-x ram_target={0 | start | amount}
For example, on the guest, use the hpvmmgmt command to list the dynamic memory information.
Enter the following command:
# hpvmmgmt -l ram
[Dynamic Memory Information]
=======================================
Type : driver
Current memory : 6135 MB
Target memory : 6135 MB
Comfortable minimum : 2167 MB
To display more information, include the -V option. For example:
# hpvmmgmt -V -l ram
[Dynamic Memory Information]
=======================================
Type : driver
Current memory : 2103 MB
Target memory : 2103 MB
Comfortable minimum : 2423 MB
Minimum memory : 1222 MB
Maximum memory : 6144 MB
Boot memory : 6135 MB
Free memory : 124 MB
Available memory : 286 MB
Memory pressure : 12
Memory chunksize : 65536 KB
Driver Mode(s): STARTED ENABLED GUESTCTL
9.7.2.2 Modifying a Virtual Machine's Memory Size from the Guest
Once the dynamic memory feature is configured and enabled, a virtual machine's memory size
can be changed to any value between the minimum size (ram_dyn_min) and the maximum size
(ram_dyn_max) in increments of the chunk size (64 MB). Use the following-x option to the
hpvmmgmt command:
# hpvmmgmt -x ram_target=memory size
For example, to change the guest memory size to 4 GB, enter the following command:
# hpvmmgmt -x ram_target=4096M
Attempting to increase memory from 2103 MB to 4096 MB.
Successfully began to change ram_target to 4096 MB.
9.7.3 Troubleshooting Dynamic Memory Problems
This section describes how to solve problems in the use of dynamic memory.
156 Managing Guests