SWAPD(8)

NAME
swapd - swap file daemon

SYNOPSIS
swapd [ -Vh ] [-c config] [-o cmd] [-m min] [-M max] [-s swapsize] [-d dir] [-u maxunusedswaps]

OPTIONS
swapd is a background daemon that watches free memory and manages swap files. If free memory drops too low, additional swap files are created. Additionally, if there is too much free memory, swap files are deactivated and disk space may be reclaimed. -V
    Print version (@PACKAGE_VERSION@) and exit.
-h
    Print minimalistic usage information.
-c config
    Process an additional configuration file.
-o cmd
    Process cmd as if it were a line in a configuration file.
-m min
    Specify the lower boundary of free memory, below this amount of free memory additional swap files are created until atleast thismuch memory is free. This is the same as the minfree command in a configuration file.
-M max
    Specify the upper boundary of free memory, above this amount of free memory swap files are deactivated and may be deleted to reclaim disk space. A value of zero (0) is the default and recommended value. This is the same as the maxfree command in a configuration file.
-s swapsize
    Specify the size of each swap file. This is the same as the swapsize command in a configuration file.
-d dir
    Specify the directory where swap files will be created. This is the same as the swapdir command in a configuration file.
-u maxunusedswaps
    Specify the number of unused swaps that can exist before swap files start being deleted. This is the same as the maxunusedswaps command in a configuration file.

DESCRIPTION
swapd is responsible for creating and managing only its swap files, swap files not created by swapd are not managed, but the memory they add to the `free' pool is still considered when deciding whether or not to create additional swap files.

FILES
@sysconfdir@/swapd.conf

SEE ALSO
swapd.conf(5)

AUTHOR
Roy Keene <swapd@rkeene.org>