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 name until they end
killexe - Send signal to processes (kill, terminate, ...) by their 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:
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.
kill(1)
, pkill(1)
, killall(1)
, signal(7)