swapoff


swapoff

Purpose

Deactivate the specified swap device or file.

Syntax

swapoff device

Options

None

Description

The swapoff command stops Linux from using the specified device or file as a swap space.