Linux - Add remove memory online in vmware machine, Hotplug Add remove memory online

Add remove memory online in vmware machine

How to use memory hotplug?

First make sure that your linux kernel is configured or compiled with hotplug memory support, Once the server is with new linux kernel, new memory hotplug command will be available.

Hotplug Add memory
 # echo \"(physical memory address)\" > /sys/devices/system/memory/probe
This command is to identify new memory. If address is valid and no error is occurred, new directory of added section will appear as /sys/device/system/memory/memoryX.

 # echo \"online\" > /sys/devices/system/memory/memory*/state
Now you can use new memory.

Hot Memory Remove
 # echo \"offline\" > /sys/devices/system/memory/memory*/state

The above command will be useful to add memory online on linux machines, which are in VMware. The above command will be useful to add memory online on linux machines, which are in VMware. Hot memory add or remove linux commands.

The topic on Linux - Add remove memory online in vmware machine is posted by - Saai

Hope you have enjoyed, Linux - Add remove memory online in vmware machineThanks for your time

Tech Bluff