Best Answer: How Do I Change Memory in Linux?
Contents How Do I Increase Memory on Linux? Hot Adding Memory in Linux (1012764) Look for Memory That Appears Offline. Run This Command to Check the State of...
Contents
How do I increase memory on Linux?
Hot adding memory in Linux (1012764)
- Look for memory that appears offline. Run this command to check the state of the memory: grep line /sys/devices/system/memory/*/state.
- When memory appears offline, run this command to set it to online: echo online >/sys/devices/system/memory/memory[number]/state.
How do I swap memory in Linux?
The basic steps to take are simple:
- Turn off the existing swap space.
- Create a new swap partition of the desired size.
- Reread the partition table.
- Configure the partition as swap space.
- Add the new partition/etc/fstab.
- Turn on swap.