BSD Ports

sysutils/swapd 1.0.5_3 FreeBSD

Daemon that watches free memory and manages swap files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
sysutils
Package size
16.1 KiB, 33.4 KiB installed

Description

"Swapd" is a 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.

"Linux swapd" (https://sourceforge.net/projects/swapd/) didn't work very well, but the idea was good. I started making a version that would work and would also be somewhat portable. It currently compiles on Linux and FreeBSD, but requires `libstatgrab' (http://www.i-scream.org/libstatgrab/) to work on platforms that don't have /proc/meminfo (i.e., platforms that aren't Linux).

In the other systems

SystemPortVersion
FreeBSDsysutils/swapd1.0.5_3
NetBSDsysutils/swapd1.0.3nb2

Install

Binary package:

pkg install swapd

From the ports tree:

cd /usr/ports/sysutils/swapd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	swapd>0:sysutils/swapd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.5_31.0.5_31.0.5_21.0.5_31.0.5_3
FreeBSD:14:quarterly1.0.5_31.0.5_3n/a1.0.5_31.0.5_3
FreeBSD:15:latest1.0.5_31.0.5_3n/a1.0.5_31.0.5_3
FreeBSD:15:quarterly1.0.5_31.0.5_3n/an/an/a
FreeBSD:16:latest1.0.5_31.0.5_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
gmake pkgconfig
Service scripts
swapd

Message after installing

===>   NOTICE:

The swapd port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 2
  • swapd(8)
  • swapd.conf(5)
pkg-plist 6
  • share/man/man5/swapd.conf.5.gz
  • share/man/man8/swapd.8.gz
  • sbin/swapd
  • sbin/swapd_swapon
  • sbin/swapd_swapoff
  • @sample etc/swapd.conf.sample
distinfo 1
FileSizeSHA256
swapd-1.0.5.tar.gz94713a9c25251ad4b1eb163266cd44969975db5a872be68cf7bca66367d43875ccbc6
Master sites 1
  • http://www.rkeene.org/files/oss/swapd/

Commit history 0

No commits in the history this site was built from.