Category Archives: Swap

Increase SWAP space in Linux

Method 1: Use a Hard Drive Partition for Additional Swap Space Step #1: Login as the Root User and run following commands # mkswap /dev/sdc1 # swapon /dev/sdc1 Method 2: Use a File for Additional Swap Space # dd if=/dev/zero … Continue reading

Posted in Swap | Leave a comment

Free Memory and Swap Activity

You can use the following command to display memory: $ free -m To see a list of your running processes sorted by memory use: $ ps -eo pmem,pcpu,rss,vsize,args | sort -k 1-r | less

Posted in Memory, Swap | Leave a comment