Difference between revisions of "32v 1m kill"
(New page: KILL(1) UNIX Programmer's Manual KILL(1) == NAME == kill - terminate a process with extreme prejudice == SYNOPSIS == kill [ -signo ] processid ... =...) |
(minor stuff..) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
== NAME == | == NAME == | ||
− | + | kill - terminate a process with extreme prejudice | |
== SYNOPSIS == | == SYNOPSIS == | ||
− | + | kill [ -signo ] processid ... | |
== DESCRIPTION == | == DESCRIPTION == | ||
− | + | '''Kill''' sends signal 15 (terminate) to the specified processes. | |
− | + | If a signal number preceded by `-' is given as first argument, that signal is sent instead of terminate (see '''signal'''(2)). This will kill processes that do not catch the | |
− | + | signal; in particular `kill -9 ...' is a sure kill. | |
− | |||
− | |||
− | + | By convention, if process number 0 is specified, all members | |
− | + | in the process group (i.e. processes resulting from the current login) are signaled. | |
− | |||
− | + | The killed processes must belong to the current user unless | |
− | + | he is the super-user. To shut the system down and bring it | |
− | + | up single user the super-user may use `kill -1 1'; see | |
− | + | '''init'''(8). | |
− | + | The process number of an asynchronous process started with | |
− | + | `&' is reported by the shell. Process numbers can also be | |
− | + | found by using '''ps'''(1). | |
== SEE ALSO == | == SEE ALSO == | ||
− | + | [[32v 1m ps|ps(1)]], [[32v 2m kill|kill(2)]], [[32v 2m signal|signal(2)]] | |
[[Category:32v man section 1]] | [[Category:32v man section 1]] |
Latest revision as of 02:19, 8 August 2010
KILL(1) UNIX Programmer's Manual KILL(1)
Contents
NAME
kill - terminate a process with extreme prejudice
SYNOPSIS
kill [ -signo ] processid ...
DESCRIPTION
Kill sends signal 15 (terminate) to the specified processes. If a signal number preceded by `-' is given as first argument, that signal is sent instead of terminate (see signal(2)). This will kill processes that do not catch the signal; in particular `kill -9 ...' is a sure kill.
By convention, if process number 0 is specified, all members in the process group (i.e. processes resulting from the current login) are signaled.
The killed processes must belong to the current user unless he is the super-user. To shut the system down and bring it up single user the super-user may use `kill -1 1'; see init(8).
The process number of an asynchronous process started with `&' is reported by the shell. Process numbers can also be
found by using ps(1).