Name

kill

Synopsis

                     
                        kill
                      [options] IDs

Terminate each specified PID or job ID. You must own the process or be a privileged user (either with su or sudo). See also the earlier section "Job Control" and the killall command in Chapter 2.

Options

- signal

The signal number (from ps -f) or name (from kill -l). The default is TERM (signal number 15). With a signal number of 9, the kill is unconditional. If nothing else works to kill a process, kill -9 almost always kills it, but it doesn’t allow the process any time to clean up.

--

Consider all subsequent strings to be arguments, not options.

-l [ arg ]

With no argument, list the signal names. (Used by itself.) The argument can be a signal name or a number representing either the signal number or the exit status of a process terminated by a signal. If it is a name, the corresponding number is returned; otherwise, the corresponding name is returned.

-n signum

Specify the signal number to send.

-s signal

Specify signal. May be a signal name or number.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.