tldr/pages/common/killall.md

26 lines
717 B
Markdown
Raw Normal View History

2017-04-09 17:41:36 +01:00
# killall
> Send kill signal to all instances of a process by name (must be exact name).
> All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit.
> More information: <https://manned.org/killall>.
2017-04-09 17:41:36 +01:00
- Terminate a process using the default SIGTERM (terminate) signal:
`killall {{process_name}}`
- [l]ist available signal names (to be used without the 'SIG' prefix):
2017-04-09 17:41:36 +01:00
`killall -l`
2017-04-09 17:41:36 +01:00
- Interactively ask for confirmation before termination:
`killall -i {{process_name}}`
- Terminate a process using the SIGINT (interrupt) signal, which is the same signal sent by pressing `Ctrl + C`:
2017-04-09 17:41:36 +01:00
`killall -INT {{process_name}}`
- Force kill a process:
`killall -KILL {{process_name}}`