Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ admswap(1M) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

swapon(1M)

sysadm(1M)

fstab(4)



admswap(1M)                    DG/UX 5.4R3.00                    admswap(1M)


NAME
       admswap - manage swap areas

SYNOPSIS
       admswap -o add dev-file ...

       admswap -o delete dev-file ...

       admswap -o list [ -buqv ] [ dev-file ...  ]

DESCRIPTION
       The admswap command is used to manage system swap areas.  The
       argument, dev-file, specifies a block special device file (e.g.
       virtual disk).  If dev-file is not an absolute path, it is assumed to
       be the name of a device file in the /dev/dsk directory.

   Operations
       add       Add a swap entry for dev-file to the fstab file and call
                 swapon(1M) to begin using it as a swap area.

       delete    Delete the swap entry for dev-file from the fstab file.
                 Note, however, that dev-file will continue to be used as a
                 swap area until the system is rebooted.

       list      List swap areas to stdout.

   Options
       -b        Block Size.  Produce a listing that includes total block
                 size of the individual swap area(s).

       -u        In Use Status.  Produce a listing that indicates whether or
                 not the swap area is currently in use.  A "y" is displayed
                 if the swap area is in use.  A "n" is displayed if the swap
                 area is not in use.

       -q        Quiet. Produce an unformatted listing (i.e. no headers).

       -v        Verbose.  Produce a formatted listing with headers and
                 aligned columns.  This option is enabled by default.

EXAMPLE
       The following command line would be used to add the virtual disk
       /dev/dsk/swap2 to fstab and begin using it as a swap area:

         admswap -o add swap2


OUTPUT
       The default list operation produces a list of swap areas consisting
       of a header followed by the names of the swap devices each on
       separate lines.  Additional information such as the size of each swap
       area and whether or not the swap area is currently in use can be
       obtained with the -b and -u options respectively. The -q option
       suppresses the printing of the header.



Licensed material--property of copyright holder(s)                         1




admswap(1M)                    DG/UX 5.4R3.00                    admswap(1M)


FILES
       /etc/fstab          file system table

DIAGNOSTICS
   Warnings
       None.

   Errors
       -      dev-file does not reference a valid swap device.

       -      Attempt is made to add a swap area entry that already exists
              or delete a swap area entry that doesn't exist.

       -      An attempt to begin swapping on a new swap area fails.

   Exit Codes
        0     The operation was successful.

        1     The operation was unsuccessful.

        2     The operation failed due to access restrictions.

        3     There was an error in the command line.

NOTES
       Superuser privilege is required for the add and delete operations.

SEE ALSO
       swapon(1M), sysadm(1M), fstab(4).




























Licensed material--property of copyright holder(s)                         2


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