HP Integrity Virtual Machines Installation, Configuration, and Administration
-x keyword=value
Specifies virtual machine characteristics. Use the following keywords:
• -x ram_target={0 | start | amount}
Specifies the guest RAM target, where the values are:
— 0 indicates the dynamic memory driver will reduce the memory on the guest to
what it determines is a comfortable minimum that would not result in guest memory
being paged out.
— start indicates the guest dynamic memory size will be set back to the boot time
value.
— amount is a specific target memory size for the guest.
RETURN VALUES
The hpvmmgmt command exits with one of the following values:
0: Successful completion.
1: One or more error conditions occurred.
DIAGNOSTICS
hpvmmgmt displays error messages on stderr for any of the following conditions:
• An invalid option is specified.
• The hpvmmgmt command and Integrity VM are at different revision levels.
EXAMPLES
List all the types of data that can be managed, as well as the name value pairs.
# hpvmmgmt
Type Guest Control
====== =============
ram yes
The following example shows the detailed information about the manageable data.
# hpvmmgmt -l ram -V
[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
The following example sets the dynamic ram target to the original boot amount.
# hpvmmgmt -x ram_target=0
Attempting to decrease memory from 2039 MB to 745 MB.
Successfully began to change ram_target to 745 MB.
# hpvmmgmt -x ram_target=start
Attempting to increase memory from 929 MB to 2039 MB.
Successfully began to change ram_target to 2039 MB.
AUTHORS
The hpvmmgmt command was developed by the Hewlett-Packard Company.
197