swapoff

From RaySoft

swapoff disables swapping on the specified devices and files.[1]

Documentation

Syntax

swapoff [PARAMETER ...] [DEVICE]

Parameters

-a
When the -a flag is given, swapping is disabled on all known swap devices and files.

Examples

Deactivate a SWAP partition on /dev/hda3
swapoff '/dev/hda3'

References

  1. man 8 'swapoff'