killall: split linux and common (#9550)

* killall: split linux and osx

* killall: oh

* mnenomic lol

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
pull/1/head
pixel 2022-11-24 17:44:48 +01:00 committed by GitHub
parent a55e9f412d
commit f448f16cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 2 deletions

View File

@ -8,9 +8,9 @@
`killall {{process_name}}`
- List available signal names (to be used without the 'SIG' prefix):
- [l]ist available signal names (to be used without the 'SIG' prefix):
`killall --list`
`killall -l`
- Interactively ask for confirmation before termination:

25
pages/linux/killall.md Normal file
View File

@ -0,0 +1,25 @@
# 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>.
- 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}}`