Swapon: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
(Created page with "== Overview == swapon, swapoff - enable/disable devices and files for paging and swapping == Synopsis == <pre> Get info: swapon -s [-h] [-V] Enable/disable: swapon...")
 
No edit summary
 
Line 18: Line 18:




[[category:command]]
[[category:command/utility]]

Latest revision as of 08:41, 25 July 2016

Overview

swapon, swapoff - enable/disable devices and files for paging and swapping

Synopsis

Get info:
    swapon -s [-h] [-V]

Enable/disable:
    swapon [-d] [-f] [-p priority] [-v] specialfile...
    swapoff [-v] specialfile...

Enable/disable all:
    swapon -a [-e] [-f] [-v]
    swapoff -a [-v]