Name
kill
Synopsis
kill [option
]PID
This is the /bin/kill command; there is also a shell command of the same name that works similarly. Send a signal to terminate one or more process IDs (PID
). You must own the process or be a privileged user. If no signal is specified, TERM
is sent. If the PID
is -1, the signal is sent to all processes you own. If you are superuser, a PID
of -1 sends the signal to all processes.
Options
- -l
List the signal names. (Used by itself.)
-
-s
signal
Send signal
signal
to the given process or process group.signal
can be the signal number (from /usr/include/sys/signal.h) or name (from kill -l). With a signal number of 9, the kill is absolute.- -signal
Send signal
signal
to the given process or process group.
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.