Name

swapon

Synopsis

swapon [options] device ...

Description

System administration command. Make the listed devices available for swapping and paging.

Options

-a

Consult /etc/fstab for devices marked sw. Use those in place of the device argument.

-p priority

Specify a priority for the swap area. Higher priority areas will be used up before lower priority areas are used.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.