View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Swapoff

From LQWiki

Jump to: navigation, search

swapoff is the command used to turn off swap for a particular swap partition.

Most common usage:

 # swapoff -a

...will turn off all swapping.

 # swapon -a

...will turn it back on again.

 # swapon -s

...will show all active swap

 # mkswap 

...will delete a partition and make it usable for swapping

See also


Personal tools