Make swap memory on RHEL
Make new swap memory space
fdisk to disk
create new partition with Linux swap type
partprobe to update partition table to OS
mkswap “disk_path”
mkswap /dev/sda1
swapon -s (status)
swapon -a (activate)
Remove new swap space
swapoff “disk_path”
swapon -s (status)
Verify the new swap space
blkid and check the type “swap”
Detail statistic on how many pages are in &out of the memory
sar -A