HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

s
swapinfo(1M) swapinfo(1M)
-f Print information about file system paging areas only. This modifies the output header appropri-
ately.
-n Categorize file system paging area information into
localfs areas and network areas,
instead of calling them both
fs areas.
-r Print information about reserved paging space only.
-M Print information about memory paging space only.
The -d, -f, -n
, -r and -M options can be combined. The default is -dfnrM
.
-q Quiet mode. Print only a total "Kb AVAIL" value (with the
-m
option, Mb AVAIL); that is, the
total paging space available on the system (device, file system, reserve, or memory paging space
only if
-d, -f,
-r,or -M is specified), for possible use by programs that want a quick total. If
-q is specified, the -t
and -a options are ignored.
-w Print a warning about each device paging area that contains wasted space; that is, any device
paging area whose allocated size is less than its total size. This option is effective only if
-d is
also specified or true by default.
RETURN VALUE
swapinfo returns 0 if it completes successfully (including if any warnings are issued), or 1 if it reports
any errors.
DIAGNOSTICS
swapinfo prints messages to standard error if it has any problems.
EXAMPLES
List all file system paging areas with a totals line:
swapinfo -ft
WARNINGS
swapinfo needs kernel access for some information. If the user does not have appropriate privileges for
kernel access, swapinfo will print a warning and assume that the defaults for that information have not
been changed.
Users of swapinfo must not rely on the exact field widths and spacing of its output, as these will vary
depending on the system, the release of HP-UX, and the data to be displayed.
The information in this manual page about paging allocation and other implementation details may change
without warning; users should not rely on the accuracy of this information.
AUTHOR
swapinfo was developed by HP.
SEE ALSO
lvlnboot(1M), lvrmboot(1M), swapon(1M), swapon(2), swapctl(2), fstab(4).
HP-UX 11i Version 3: February 2007 4 Hewlett-Packard Company 435