Name
killall
Synopsis
killall [options] names
Kill processes by command name. If more than one process is running the specified command, kill all of them. Treat command names that contain a / as files; kill all processes that are executing that file.
Options
- - signal
Send signal to process (default is TERM). signal may be a name or a number.
- -e
Require an exact match to kill very long names (i.e., longer than 15 characters). Normally, killall kills everything that matches within the first 15 characters. With -e, such entries are skipped. (Use -v to print a message for each skipped entry.)
- -g
Kill the process group to which the process belongs.
- -i
Prompt for confirmation before killing processes.
- -l
List known signal names.
- -q
Quiet; do not complain of processes not killed.
- -v
Verbose; after killing process, report success and process ID.
- -V
Print version information.
- -w
Wait for all killed processes to die. Note that killall may wait forever if the signal was ignored or had no effect, or if the process stays in zombie state.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access