Behaviours: gen_server.
| off/0 | Stops killing things within your system. |
| on/0 | Begin to wreak havoc on your system using the default options. |
| on/1 | Begin to wreak havoc on your system. |
off() -> ok
Stops killing things within your system.
on() -> ok
Begin to wreak havoc on your system using the default options.
on(Opts::[term]) -> ok
Opts: A proplist that accepts the following options.
avg_wait - The average amount of time you would like to wait between
kills. (default 5000)deviation - The deviation of time allowed between kills.
(default 0.3)supervisor - Whether or not to kill supervisors. (default false)process - Whether or not to kill processes. (default true)tcp - Whether or not to kill TCP connections. (default false)udp - Whether or not to kill UDP connections. (default false)nodes - Either a list of atom node names, or a single atom that is
accepted by erlang:nodes/1. (default this)applications - A list of application names that you want to
target. (defaults to all applications except kernel and havoc)otp_applications - A list of OTP applications that you would
like to target. (default [])supervisors - A list of supervisors that you want to target.
Can be any valid supervisor reference. (defaults to all supervisors)killable_callback - A Fun that gets called to decide if a pid or
port may be killed or not by returning true or false.prekill_callback - A Fun that gets called just before killing.Begin to wreak havoc on your system.
Generated by EDoc