survivor: Swap Check Module

SURVIVOR: `swap` Check Module
About `swap` Dependencies Arguments Description Examples
About `swap`
basics |
Module Type | Scheduler | Remote
check | No | Yes
syntax |
         module swap {
           [warn <number>]
           [prob <number>]
         }
         via <transport>
### Dependencies None ### Arguments
Name | Type | Value
warn | optional number between 0 and 101, default is 101 | Minimum percentage of swap in use to generate a warning.
prob | optional number between 0 and 101, default is 101 | Minimum percentage of swap in use to generate a problem.
1. ### Description The `swap` module determines the amount of memory (real + virual) in use on the host to be checked. It uses `swap -s`, `pstat -T`, or `free -t` to determine the percentage of memory in use. ### Examples To warn when 80 percent of swap is in use and generate a problem when 90 percent of swap is in use:
            module swap {
              warn 80
              prob 90
            }
$Date: 2006/11/19 21:55:55 $ $Revision: 0.6 $ | keywords prob warn