| killp - Send signal to processes by PID until they end |
killp - Send signal to processes (kill, terminate, ...) by PID until they end
killpgrp - Send signal to processes (kill, terminate, ...) by PGID until they end
killcmd - Send signal to processes (kill, terminate, ...) by command line until they end
killexe - Send signal to processes (kill, terminate, ...) by executable path until they end
killp [OPTIONS] <PID> [<PID> [...]]
Send signal to process(es) by PID, PGID (process group ID), command name, or by executable path
until the selected process(es) exists.
Ie. in usuall invocation, eg. killcmd java tries to SIGTERM all java processes until at
least 1 exists, and returns only afterwards.
The following options control how killcmd and killexe finds processes. Semantics are the same as in grep(1):
-E --extended-regexp -F --fixed-strings -G --basic-regexp -P --perl-regexp -i --ignore-case -w --word-regexp -x --line-regexp
Other options:
killcmd looks for matching substring in the command's arguments too. By default, only the command name is considered (first word in the command line).
killcmd and killexe look for matching substring in the command's full path too. By default, only the basename is considered.
Which signal to send.
See kill(1) and signal(7) for valid SIG signal names and numbers.
How much to wait between attempts.
See sleep(1) for valid IVAL intervals.
By default, prints what is being killed on the second attempt onward. With --verbose, prints the first attempt too. With --quiet, does not print what is being killed.
kill(1), pkill(1), pgrep(1), killall(1), signal(7)