1993-11-18 06:16:32 +03:00
|
|
|
.\" $Id: swapinfo.1,v 1.3 1993/11/18 03:16:32 cgd Exp $ -*- nroff -*-
|
1993-04-10 16:16:52 +04:00
|
|
|
.Dd February 23, 1993
|
|
|
|
.Dt SWAPINFO 1
|
|
|
|
.Sh NAME
|
|
|
|
.Nm swapinfo
|
|
|
|
.Nd display free swap space
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm swapinfo
|
|
|
|
.Op Fl k
|
1993-11-18 06:16:32 +03:00
|
|
|
.Op Fl m
|
|
|
|
.Op Fl n
|
1993-04-10 16:16:52 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm Swapinfo
|
|
|
|
displays statistics about the amount of free swap space on all of the
|
|
|
|
swap areas compiled into the kernel.
|
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl k
|
|
|
|
By default, all sizes are reported in 512-byte block counts.
|
|
|
|
The
|
|
|
|
.Fl k
|
|
|
|
option causes the numbers to be reported in kilobyte counts.
|
1993-11-18 06:16:32 +03:00
|
|
|
.It Fl m
|
|
|
|
Show the contents of the system swap map.
|
|
|
|
.It Fl n
|
|
|
|
Do not print swap device statistics.
|
1993-04-10 16:16:52 +04:00
|
|
|
.El
|
|
|
|
.Sh STATISTICS
|
|
|
|
Statistics are reported for all swap partitions configured into the kernel.
|
|
|
|
The first column is the device name of the partition. The next column is
|
|
|
|
the total space available in the partition. The
|
|
|
|
.Ar Used
|
|
|
|
column indicates the total blocks used so far; the
|
|
|
|
.Ar Available
|
|
|
|
column indicates how much space is remaining on each partition.
|
|
|
|
The
|
|
|
|
.Ar Capacity
|
|
|
|
reports the percentage of space used.
|
|
|
|
.Pp
|
|
|
|
If more than one partition is configured into the system, totals for all
|
|
|
|
of the statistics will be reported in the final line of the report.
|
|
|
|
.Pp
|
1993-11-18 06:16:32 +03:00
|
|
|
When printing the contents of the system swap map,
|
|
|
|
.Nm swapinfo
|
|
|
|
prints the number of swap map entries as well as information for each
|
|
|
|
entry which is currently in use. The swap map entry number is reported
|
|
|
|
in the
|
|
|
|
.Ar Entry
|
|
|
|
column. The
|
|
|
|
.Ar Size
|
|
|
|
column is the size of that block in the swap map, and the
|
|
|
|
.Ar Start
|
|
|
|
and
|
|
|
|
.Ar End
|
|
|
|
columns are the start and end of the entry, respectively. All values
|
|
|
|
are printed in units of blocks.
|
|
|
|
.Sh "BUGS AND CAVEATS"
|
1993-04-10 16:16:52 +04:00
|
|
|
Statistics are reported for all swap partitions compiled into the kernel,
|
|
|
|
regardless of whether those partitions are being used.
|
|
|
|
.Sh AUTHOR
|
|
|
|
.RS
|
|
|
|
Kevin Lahey
|
|
|
|
.br
|
|
|
|
kml@rokkaku.atl.ga.us
|