Display swap usage summary
 swapon -sShow how many space swap needs in megabytes
 free -mCreate new swap disk.
 fdisk /dev/sdbFormat new disk to swap format
 mkswap /dev/sdb1Add new part of swap
 swapon /dev/sdb1Verify if there is more space in swap space
 free -mAppend next line to file /etc/fstab.
/dev/sdb2 swap swap defaults 0 0 If you need old swap use
 swapoff /dev/sda6Was this information helpful to you? You have the power to keep it alive. 
Each donated € will be spent on running and expanding this page about UNIX Shell.
We prepared for you video course Marian's BASH Video Training: Mastering Unix Shell, if you would like to get much more information.
Thank you. Marian Knezek