Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SWAPD(8)		    System Manager's Manual		      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 cre-
       ated. Additionally, if there is too much	free memory,  swap  files  are
       deactivated and disk space may be reclaimed.

       -V
	      Print version (1.0.5) 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 com-
	      mand 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 re-
	      claim disk space.	 A value of zero (0) is	the default and	recom-
	      mended value.  This is the same as the maxfree command in	a con-
	      figuration 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 max-
	      unusedswaps 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
       ${prefix}/etc/swapd.conf

SEE ALSO
       swapd.conf(5)

AUTHOR
       Roy Keene <swapd@rkeene.org>

swapd 1.0.5			  16 Oct 2004			      SWAPD(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=swapd&sektion=8&manpath=FreeBSD+Ports+14.3.quarterly>

home | help