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
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/swapd | 1.0.5_3 |
| NetBSD | sysutils/swapd | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.5_3 | 1.0.5_3 | 1.0.5_2 | 1.0.5_3 | 1.0.5_3 |
| FreeBSD:14:quarterly | 1.0.5_3 | 1.0.5_3 | n/a | 1.0.5_3 | 1.0.5_3 |
| FreeBSD:15:latest | 1.0.5_3 | 1.0.5_3 | n/a | 1.0.5_3 | 1.0.5_3 |
| FreeBSD:15:quarterly | 1.0.5_3 | 1.0.5_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.5_3 | 1.0.5_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libstatgrab.so: devel/libstatgrab
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
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
| File | Size | SHA256 |
|---|---|---|
| swapd-1.0.5.tar.gz | 94713 | a9c25251ad4b1eb163266cd44969975db5a872be68cf7bca66367d43875ccbc6 |
Master sites 1
- http://www.rkeene.org/files/oss/swapd/
Commit history 0
No commits in the history this site was built from.