Hostsvc/memoryinfo: Difference between revisions
Jump to navigation
Jump to search
New page: ==== Vimsh hostsvc/memoryinfo ==== Usage: memoryinfo [memoryCfg] Get the memory information. If memoryCfg is specified, sets configured memory. Category: Vimsh |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
Get the memory information. If memoryCfg is specified, sets configured memory. | Get the memory information. If memoryCfg is specified, sets configured memory. | ||
==== Example output ==== | |||
[root@himalaya scripts]# vmware-vim-cmd hostsvc/memoryinfo | |||
(vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo) { | |||
dynamicType = <unset>, | |||
serviceConsoleReservedCfg = 838860800, | |||
serviceConsoleReserved = 838860800, | |||
unreserved = 12045254656, | |||
} | |||
==== Set or Get console memory ==== | |||
The service console memory should be increased if you are running apps other than the default install. This includes management agents, backups, etc. | |||
The changes require a reboot to take effect. You can incorporate this in your kickstart script. | |||
Don't forget to also set your swap partition to be 2x the Service Console memory, where the maximum used is 1600MB as you cannot set the console memory to over 800MB | |||
To see the current Setting: | |||
The setting shown is in bytes (MB * 1024 * 1024) | |||
vimsh -n -e "/hostsvc/memoryinfo" | |||
serviceConsoleReserved - Current setting | |||
serviceConsoleReservedCfg - Setting after next reboot | |||
Set to 800MB: | |||
vimsh -n -e "/hostsvc/memoryinfo 838860800" | |||
from: http://communities.vmware.com/blogs/froboy/tags/vimsh | |||
[[Category: Vimsh]] | [[Category: Vimsh]] |
Latest revision as of 20:28, 29 May 2009
Vimsh hostsvc/memoryinfo
Usage: memoryinfo [memoryCfg]
Get the memory information. If memoryCfg is specified, sets configured memory.
Example output
[root@himalaya scripts]# vmware-vim-cmd hostsvc/memoryinfo (vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo) { dynamicType = <unset>, serviceConsoleReservedCfg = 838860800, serviceConsoleReserved = 838860800, unreserved = 12045254656, }
Set or Get console memory
The service console memory should be increased if you are running apps other than the default install. This includes management agents, backups, etc. The changes require a reboot to take effect. You can incorporate this in your kickstart script. Don't forget to also set your swap partition to be 2x the Service Console memory, where the maximum used is 1600MB as you cannot set the console memory to over 800MB
To see the current Setting: The setting shown is in bytes (MB * 1024 * 1024)
vimsh -n -e "/hostsvc/memoryinfo" serviceConsoleReserved - Current setting serviceConsoleReservedCfg - Setting after next reboot
Set to 800MB:
vimsh -n -e "/hostsvc/memoryinfo 838860800"