Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swapon(8) — OSF/1 SILVER Baselevel 4 rev36

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

swapon(2)

swapon(8)  —  Maintenance

OSF

NAME

swapon − Specifies additional device for paging and swapping

SYNOPSIS

swapon [-avp] [-l lowsize] [-h highsize] filename

FLAGS

-aActivates all swapon devices in the /etc/fstab file

-vGenerates verbose output

-pThe specified swapping file is preferred

-l lowsizeThe low water mark

-h highsizeThe high water mark

DESCRIPTION

The swapon command is used to specify additional paging files.  Calls to swapon normally occur in the system multiuser state initialization.  When specified, the -v option generates verbose output.  The -p option is used to specify a preferred paging file.  A preferred paging file will be chosen by the operating system to be paged to before a non-preferred file.  The -l option is used to specify the low water mark.  Normally, the -a option is used, causing all devices marked as sw (swap devices) in the /etc/fstab file to be made available.  The -h option is used to specify the high water mark.  The operating system will not expand the paging file to be larger that then high water mark.  If the paging file grows larger that the low water mark, and then shrinks below the low water mark, the operation system will not make the file smaller than the low water mark.  The default value for the low water mark is 20Mbytes, the default value for the high water mark is unlimited. 

EXAMPLES

     1.To add the /paging/swapon file to the paging list, enter:

swapon /paging/swapon

     2.To add the /paging/swapon2 file to the paging list and specify a low water mark of 16Mbytes and a high water mark of 64Mbytes, enter:

swapon -l 16M -h 64M /paging/swapon2

FILES

/usr/sbin/swapon
Specifies the command path

NOTES

There is no way to stop paging and swapping on a device.  It is therefore not possible to make use of devices which may be dismounted during system operation. 

RELATED INFORMATION

Functions:  swapon(2)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026