Installation guide
www.vmware.com
412
VMware ESX Server Administration Guide
memory should be allocated on the specified NUMA node. For more information, see
Associating Future Virtual Machine Memory Allocations with a NUMA Node on
page 422.
Service Console Commands
/proc/vmware/vm/<id>/mem/min
Reading from this file reports the minimum memory size in megabytes for the virtual
machine identified by <id>.
Writing a number <size> to this file changes the minimum memory size for the
virtual machine identified by <id> to <size>MB.
/proc/vmware/vm/<id>/mem/shares
Reading from this file reports the number of memory shares allocated to the virtual
machine identified by <id>.
Writing a number <n> to this file changes the number of memory shares allocated to
the virtual machine identified by <id> to <n>. The valid range of numerical values
for <n> is 0 to 100000. You may also use the special values low, normal and high.
These values are automatically converted into numbers, through the configuration
options MemSharesPerMBLow, MemSharesPerMBNormal and
MemSharesPerMBHigh, described below.
Note that a value of zero (0) shares causes the virtual machine memory size allocation
to be exactly equal to its specified minimum size, even if excess memory is available.
/proc/vmware/vm/<id>/mem/status
Reading from this file reports current status information for the virtual machine
identified by <id>, including the specified shares, minimum size and maximum size
parameters as well as the virtual machine name, current status, whether the virtual
machine is currently waiting for memory to be reserved, current memory usage,
current target size, memory overhead for virtualization and the amount of allocated
memory actively in use. All memory sizes are reported in kilobytes.
/proc/vmware/sched/mem
Reading from this file reports the memory status information for all non-system virtual
machines in the entire system as well as several aggregate totals.
Writing the string realloc to this file causes an immediate memory reallocation.
Memory is normally reallocated periodically every MemBalancePeriod seconds.
(See /proc/vmware/config/MemBalancePeriod below for more
information.) Reallocations are also triggered by significant changes in the amount of
free memory.