diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2008-05-20 12:24:31 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2008-05-20 12:24:31 +0000 |
commit | 2e64768c87ca335035ee3f7c9d15f48e99da3e34 (patch) | |
tree | 515c62e9c67b6d288fceb126ee73a7de8dc13fb0 /sbin/swapon/swapon.8 | |
parent | 76c586c6a1eccf223e2a0670cfa8bdc9093750da (diff) | |
download | src-2e64768c87ca335035ee3f7c9d15f48e99da3e34.tar.gz src-2e64768c87ca335035ee3f7c9d15f48e99da3e34.zip |
- 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.
Notes
Notes:
svn path=/head/; revision=179154
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 f4ecd14145f7..1af8d994276c 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 |