Name
kill
Synopsis
kill [options
]IDs
Terminate each specified PID or job ID. You must own the process or be a privileged user. See also Section 20.6 and the killall command in Chapter 28.
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 Panther in a Nutshell, 2nd Edition 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.