Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swap(1M) — sys5 — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SWAP(1M)                        Domain/OS SysV                        SWAP(1M)




NAME
     swap - swap administrative interface

SYNOPSIS
     /etc/swap -a swapdev

     /etc/swap -d swapdev

     /etc/swap -l

DESCRIPTION
     swap provides a method of adding, deleting, and monitoring the system
     swap areas used by the memory manager.

OPTIONS
     -a        Add the specified swap area. swapdev is the name of the block
               special device, e.g., /dev/dsk/w0d0s1.  This option can only be
               used by the super-user. Swap areas are normally added by the
               system start up routine /etc/rc when going into multi-user
               mode.

               Some disk devices, such as the 20GB/A Optical Disk Library
               System, have performance characteristics that are unacceptable
               for swap media.  On such devices, swap -a fails with the error
               message "invalid argument".

     -d        Delete the specified swap area. swapdev is the name of the
               block special device, for example, /dev/dsk/w0d0s1.  Using this
               option marks the swap area as "INDEL" (in process of being
               deleted).  The system will not allocate any new blocks from the
               area, and will try to free swap blocks from it. The area will
               remain in use until all blocks from it are freed.  This option
               can only be used by the super-user.

     -l        list the status of all swap areas.  The output has four
               columns:

               DEV       The swapdev special file for the swap area if one can
                         be found in the /dev/dsk or /dev directories, and its
                         major/minor device number in decimal

               LOW       The swaplow value for the area in 1-KB blocks.  This
                         value is always displayed as 0.

               LEN       The swaplen value for the area in 1-KB blocks.
                         Information is displayed for the volume as a whole.

               FREE      The number of 1-KB blocks in the area.  If the swap
                         area is being deleted, this column will be marked
                         INDEL.

WARNINGS
     No check is done to see if a swap area being added overlaps with an
     existing swap area or file system

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