Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swap(1M) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought




swap(1M) swap(1M)
NAME swap - add or delete disk blocks to or from the swap area SYNOPSIS /etc/swap -a [swapdev [swaplow [swaplen]]] /etc/swap -d swapdev [swaplow] /etc/swap -l DESCRIPTION swap provides a method of adding, deleting, and monitoring the system swap areas used by the memory manager. FLAG OPTIONS swap interprets the following flag options: -a Add the specified swap area. If no swap area is speci- fied, add all entries in /etc/fstab with type swap. The placeholder swapdev is the name of a block special device, for example, /dev/dsk/c0d0s0. The value of swaplow is the offset in 512-byte blocks into the dev- ice where the swap area should begin. The value of swaplen is the length of the swap area in 512-byte blocks. The default value for swaplow and swaplen is 0. If swaplen is 0, then the length of the swap area is determined from the size of the partition. See dpme(4). This option can only be used by the su- peruser. Swap areas are normally added by the system startup routine /etc/rc when going into multiuser mode. -d Delete the specified swap area. The placeholder swap- dev is the name of a block special device, for example, /dev/dsk/c0d0s0. The value of swaplow is the offset in 512-byte blocks into the device where the swap area should begin. The default value for swaplow is 0. Us- ing this option marks the swap area as ``being delet- ed.'' The system does not allocate any new blocks from the area and tries to free swap blocks from it. The area remains in use until all blocks from it are freed. This option can be used only by the superuser. -l List the status of all the swap areas. The output has four columns: DEV The swapdev device file for the swap area if one can be found in the /dev/dsk or /dev directories, and its major and minor device number, in decimal. LOW The value of swaplow for the area in 512-byte blocks. April, 1990 1



swap(1M) swap(1M)
LEN The value of swaplen for the area in 512-byte blocks. FREE The number of free 512-byte 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. FILES /etc/fstab /etc/swap 2 April, 1990

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