summaryrefslogtreecommitdiffstats
path: root/mount/swapon.8
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:34 +0100
committerKarel Zak2006-12-07 00:25:34 +0100
commitfd6b7a7ffc50400704beb41d5a23af5f9edb1eed (patch)
tree997c0ca2abc018369babd7da59bcd0afe492068e /mount/swapon.8
parentImported from util-linux-2.5 tarball. (diff)
downloadkernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.tar.gz
kernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.tar.xz
kernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.zip
Imported from util-linux-2.7.1 tarball.
Diffstat (limited to 'mount/swapon.8')
-rw-r--r--mount/swapon.815
1 files changed, 15 insertions, 0 deletions
diff --git a/mount/swapon.8 b/mount/swapon.8
index 911855dcf..0ebb450a8 100644
--- a/mount/swapon.8
+++ b/mount/swapon.8
@@ -36,6 +36,7 @@
.\" Sat Oct 9 09:35:30 1993: Converted to man format by faith@cs.unc.edu
.\" Sat Nov 27 20:22:42 1993: Updated authorship information, faith@cs.unc.edu
.\" Mon Sep 25 14:12:38 1995: Added -v and -p information
+.\" Tue Apr 30 03:32:07 1996: Added some text from A. Koppenhoefer
.\"
.TH SWAPON 8 "25 September 1995" "Linux 1.x" "Linux Programmer's Manual"
.SH NAME
@@ -47,6 +48,8 @@ swapon, swapoff \- enable/disable devices and files for paging and swapping
.br
.BI "/sbin/swapon [\-v] [\-p " "priority" "] " " specialfile " ...
.br
+.B /sbin/swapon [\-s]
+.br
.B /sbin/swapoff [\-h \-V]
.br
.B /sbin/swapoff \-a
@@ -70,6 +73,9 @@ Provide help
.B \-V
Display version
.TP
+.B \-s
+Display swap usage summary by device
+.TP
.B \-a
All devices marked as ``sw'' swap devices in
.I /etc/fstab
@@ -81,6 +87,15 @@ Specify priority for
This option is only available if
.B swapon
was compiled under and is used under a 1.3.2 or later kernel.
+.I priority
+is a value between 0 and 32767. See
+.BR swapon (2)
+for a full description of swap priorities. Add
+.BI pri= value
+to the option field of
+.I /etc/fstab
+for use with
+.BR "swapon -a" .
.PP
.B Swapoff
disables swapping on the specified devices and files, or on all swap