diff options
author | pjd <pjd@FreeBSD.org> | 2008-05-20 12:24:31 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-05-20 12:24:31 +0000 |
commit | 60f1019c3eed881a9253aa02d5e1dc7688970115 (patch) | |
tree | 515c62e9c67b6d288fceb126ee73a7de8dc13fb0 /sbin/swapon/swapon.8 | |
parent | 0c5e80cf387d57ff83257ba8ff78ee9971f05118 (diff) | |
download | FreeBSD-src-60f1019c3eed881a9253aa02d5e1dc7688970115.zip FreeBSD-src-60f1019c3eed881a9253aa02d5e1dc7688970115.tar.gz |
- Change the meaning of -h flag from giving the output in megabytes to
giving the output in a human-readable form. This behaviour is consistent
with most of system tools.
- Add -m and -g options to give output in megabytes and gigabytes
respectively.
Diffstat (limited to 'sbin/swapon/swapon.8')
-rw-r--r-- | sbin/swapon/swapon.8 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sbin/swapon/swapon.8 b/sbin/swapon/swapon.8 index f4ecd14..1af8d99 100644 --- a/sbin/swapon/swapon.8 +++ b/sbin/swapon/swapon.8 @@ -28,7 +28,7 @@ .\" @(#)swapon.8 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd December 28, 2002 +.Dd April 29, 2008 .Dt SWAPON 8 .Os .Sh NAME @@ -38,7 +38,7 @@ .Nm swapon Fl a | Ar .Nm swapoff Fl a | Ar .Nm swapctl -.Op Fl AhklsU +.Op Fl AghklmsU .Oo .Fl a Ar | @@ -130,9 +130,13 @@ The utility has the following options for listing swap: .Bl -tag -width indent .It Fl h -Output values in megabytes. +Output values in human-readable form. +.It Fl g +Output values in gigabytes. .It Fl k Output values in kilobytes. +.It Fl m +Output values in megabytes. .It Fl l List the devices making up system swap. .It Fl s |