Swapd is a swap daemon for POSIX-compliant operating systems. It 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.
It currently compiles on atleast Linux and FreeBSD, but requires “libstatgrab” to work on platforms that don’t have /proc/meminfo (i.e., platforms that aren’t Linux).