Difference between revisions of "32v 1m kill"

From Computer History Wiki
Jump to: navigation, search
(minor stuff..)
(minor stuff..)
 
Line 17: Line 17:
 
in the process group (i.e. processes resulting from the current login) are signaled.
 
in the process group (i.e. processes resulting from the current login) are signaled.
  
    The killed processes must belong to the current user unless
+
The killed processes must belong to the current user unless
    he is the super-user.  To shut the system down and bring it
+
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
+
up single user the super-user may use `kill -1 1'; see
    _i_n_i_t(8).
+
'''init'''(8).
  
    The process number of an asynchronous process started with
+
The process number of an asynchronous process started with
    `&' is reported by the shell.  Process numbers can also be
+
`&' is reported by the shell.  Process numbers can also be
    found by using _p_s(1).
+
found by using '''ps'''(1).
  
 
== SEE ALSO ==
 
== SEE ALSO ==
    [[32v 1m ps|ps(1)]], [[32v 2m kill|kill(2)]], [[32v 2m signal|signal(2)]]
+
[[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)


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).

SEE ALSO

ps(1), kill(2), signal(2)