killall
killall sends a signal to all processes running any of the specified commands. If no signal name is specified, SIGTERM is sent.[1]
Documentation
- man 1 'killall' [EN]
Syntax
killall [<PARAMETER> ...] <NAME> [...]
killall -l
Parameters
- -e, --exact
- Require an exact match for very long names. If a command name is longer than 15 characters, the full name may be unavailable (i.e. it is swapped out).
- -l, --list
- List all known signal names.
- -q, --quiet
- Do not complain if no processes were killed.
- -r, --regexp
- Interpret process name pattern as an extended regular expression.
- -s <SIGNAL>, --signal <SIGNAL>
- Send this signal instead of SIGTERM.
- -w, --wait
- Wait for all killed processes to die. killall checks once per second if any of the killed processes still exist and only returns if none are left.
- NOTE:killall may wait forever if the signal was ignored, had no effect, or if the process stays in zombie state.
References
- ↑ man 1 'killall'