Managing Swap Space in Linux

Опубликовано: 17 Октябрь 2024
на канале: ITOps
1,665
16

The Combined system RAM plus swap spaces is called virtual memory.
Swap space in Linux is used when the amount of physical memory (RAM) is full.
If RAM is full, inactive pages in memory are moved to the swap space.
swap is located on hard drive.
mkswap /dev/sdb1
swapon /dev/sdb1