|
NAMEkill - terminate a processSYNOPSISkill [-s signal|-p] [-q sigval] [-a] [--] pid...kill -l [signal] DESCRIPTIONThe command kill sends the specified signal to the specified process or process group. If no signal is specified, the TERM signal is sent. The TERM signal will kill processes which do not catch this signal. For other processes, it may be necessary to use the KILL (9) signal, since this signal cannot be caught.Most modern shells have a builtin kill function, with a usage rather similar to that of the command described here. The '-a' and '-p' options, and the possibility to specify processes by command name are a local extension. If sig is 0, then no signal is sent, but error checking is still performed. OPTIONS
NOTESIt is not possible to send a signal to explicitly selected thread in a multithreaded process by kill(2) syscall. If kill(2) is used to send a signal to a thread group, then kernel selects arbitrary member of the thread group that has not blocked the signal. For more details see clone(2) CLONE_THREAD description.The command kill(1) as well as syscall kill(2) accepts TID (thread ID, see gettid(2)) as argument. In this case the kill behavior is not changed and the signal is also delivered to the thread group rather than to the specified thread. SEE ALSObash(1), tcsh(1), kill(2), sigvec(2), signal(7)AUTHORTaken from BSD 4.4. The ability to translate process names to process ids was added by Salvatore Valente.AVAILABILITYThe kill command is part of the util-linux package and is available from Linux Kernel Archive.
Visit the GSP FreeBSD Man Page Interface. |