HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration

Table 8-5 Dynamic Memory Characteristics (continued)
DescriptionSettingCharacteristic
Control that overrides started.enabled
Guest-side control is enabled.
guestctl
The following example displays active usage of the VM Host and guest(s) dynamic memory
usage values, along with the guest memory utilization. The guest's current swapping and paging
and translation address memory misses per second are included. For a description of each column
displayed, see the hpvmsar manpage. The dash (-) in the example indicates the guest named
ux2 is not currently booted.
# hpvmsar -G -A
HP-UX witch4 B.11.31 U ia64 10/22/10
10:02:28 GUEST GTOTMEM(MB) HDYNRCLM(MB) GCURMEM(MB) GCURFREE(MB) GSWAP GPAGE GADDRTMISS/s
10:02:30 ux1 8186 0 8186 5956 0 0 0
ux2 - - - - - - -
10:02:31 ux1 8186 0 8186 5956 0 0 0
ux2 - - - - - - -
10:02:32 ux1 8186 0 8186 5956 0 0 0
ux2 - - - - - - -
8.10.1.3 Modifying a Virtual Machine's Memory Size on the VM Host
Once dynamic memory is configured, 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 hpvmmodify command
to change the memory size:
# hpvmmodify -P host1 -x ram_target = new memory size
8.10.2 Managing Dynamic Memory from the Guest
Dynamic memory management from the guest is disabled by default and must be enabled from
the VM Host. If the feature is not enabled, dynamic memory information can be displayed , but
the memory size cannot be changed.
Use the hpvmcreate, hpvmmodify, or hpvmclone command and include the -x
dynamic_memory_control option. Specify 1 as the argument to the option. For example, on
the VM Host system, enter the following command to enable dynamic memory control on the
guest named host1:
# hpvmmodify -P host1 -x dynamic_memory_control=1
8.10.2.1 Viewing Dynamic Memory Information from the Guest
Use the hpvmmgmt command on the HP-UX guest to manage and view the dynamic memory
information. This command is installed when you install the guest management software, as
described in Section 4.4 (page 76).
Table 8-6 describes the options to the hpvmmgmt command.
Table 8-6 Options to the hpvmmgmt Command
Specifies the type of data to list more information about.
For type, enter ram.
-l type
Allows you to continually watch and check the dynamic
ram values. For the interval, specify the number of seconds
between fetches of live data.
-l type -t interval
Allows the hpvmmgmt command to continuously refetch
the requested type of data using the value specified for
the interval parameter.
-t interval
8.10 Dynamic Memory 163