![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTION
If called with start it will fork into the background and run as a daemon. It will check and then sleep for DELAY seconds before checking again. Messages about the operation will be piped to LOGGER. The pid of the daemon will be written to PIDFILE. If called with stop it stop a previously forked swapmon daemon. If called with -F it will run as a daemon but not detach from the terminal. Messages will still be piped to LOGGGER and not to the terminal by default. You may specify "/bin/cat" as LOGGER to get the messages on the terminal. Default values:
swapmon can be called via cron(5). In that case you would receive messages about the swapspace being adjusted via e-mail. To use it that way add a crontab entry to the root crontab similar to this:
FILES
SEE ALSO
|