From 8dbc49c36b03298455b9fc39b637e084a1338a47 Mon Sep 17 00:00:00 2001 From: Jade Thornton Date: Sun, 9 Apr 2017 11:41:36 -0500 Subject: [PATCH] killall: add page (#1317) --- pages/common/killall.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/killall.md diff --git a/pages/common/killall.md b/pages/common/killall.md new file mode 100644 index 000000000..858a1567e --- /dev/null +++ b/pages/common/killall.md @@ -0,0 +1,24 @@ +# 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. + +- Terminate a process using the default SIGTERM (terminate) signal: + +`killall {{process_name}}` + +- List available signal names (to be used without the 'SIG' prefix): + +`killall --list` + +- 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`: + +`killall -INT {{process_name}}` + +- Force kill a process: + +`killall -KILL {{process_name}}`