Process Killer Experiment
The Process Killer experiment kills targeted processes over a supplied interval throughout the length of the experiment.
When targeting processes with the
--process argument, you can pass a regular expression, which matches processes in the same way that pgrep(1) does, or you can pass a specific PID. When passing a regular expression, Gremlin will only match on the process name (
--full is also supplied.
The Process Killer experiment sends the signal supplied by
--signal (defaults to
KILL) to processes identified by the rest of the supplied arguments.
This experiment requires the
KILL capability, which is enabled by default at installation time. See capabilities(7)
|Signal||-s string||False||1.8.0||The signal to send to target processes. Values: [|
|Interval||-i int||False||1.8.0||The number of seconds to delay before kills.|
|Process||-p reg ex or int||True||1.8.0||The process name to match (allows regex) or the process ID.|
|Group||-g string||False||1.8.0||The group name or ID to match against (name matches only).|
|User||-u string||False||1.8.0||The user name or ID to match against (name matches only).|
|Newest||-n||False||1.8.0||If set the newest matching process will be killed (name matches only, cannot be used with -o).|
|Oldest||-o||False||1.8.0||If set the oldest matching process will be killed (name matches only, cannot be used with -n).|
|Exact||-e||False||1.8.0||If set the match must be exact and not just a substring match (name matches only).|
|Kill Children||-c||False||1.8.0||If set the processes children will also be killed.|
|Full Match||-f||False||1.8.0||If set the processes name match will occur against the full command line string that the process was launched with.|
|Length||-l int||False||1.8.0||The length of the experiment (seconds).|