The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
<html><head><title>kill</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
</head>
<body class='pod'>
<!--
  generated by Pod::Simple::HTML v3.01,
  using Pod::Simple::PullParser v2.02,
  under Perl v5.008002 at Thu Aug  5 13:56:17 2004 GMT.

 If you want to change this HTML document, you probably shouldn't do that
   by changing it directly.  Instead, see about changing the calling options
   to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<a name='___top' class='dummyTopAnchor' ></a>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>kill - send signals to a process</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<p><b>kill</b> [ <b>-s</b> <i>signalname</i> <code lang='und' xml:lang='und'>PIDS ...</code> ] [ <b>-signalname</b> <code lang='und' xml:lang='und'>PIDS ...</code> ] [ <b>-signalnumber</b> <code lang='und' xml:lang='und'>PIDS ...</code> ] [ <code lang='und' xml:lang='und'>PIDS ...</code> ] [ <b>-l</b> ] [ <b>-h</b> ]</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p><b>kill</b> sends a signal to all PIDS specified on the command line.
This is typically done to cause a process to terminate and/or to reload configuration files,
etc.
Signal handlers are specified per program,
so the effects of a received signal may vary.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="OPTIONS_AND_ARGUMENTS"
>OPTIONS AND ARGUMENTS</a></h1>

<dl>
<dt><a name="-s_This_parameter_takes_a_single_argument_of_a_signal_name_(see_-l)_to_be_sent_to_the_specified_PIDs."
><i>-s</i> This parameter takes a single argument of a signal name (see -l) to be sent to the specified PIDs.</a></dt><p class="pad"></p>

<dt><a name="-signalname_A_short_form_of_the_-s_signalname_parameter."
><i>-signalname</i> A short form of the <code lang='und' xml:lang='und'>-s signalname</code> parameter.</a></dt><p class="pad"></p>

<dt><a name="-signalnumber_This_parameter_specifies_that_the_given_signal_number_should_be_sent_to_the_specified_PID_listing."
><i>-signalnumber</i> This parameter specifies that the given signal number should be sent to the specified PID listing.</a></dt><p class="pad"></p>

<dt><a name="-l_Display_a_listing_of_all_available_signals_on_the_current_system."
><i>-l</i> Display a listing of all available signals on the current system.</a></dt><p class="pad"></p>

<dt><a name="-h_Display_the_usage_help_message."
><i>-h</i> Display the usage help message.</a></dt><p class="pad"></p>
</dl>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NOTES"
>NOTES</a></h1>

<p>If no signal is specified on the command line,
SIGTERM is sent to the specified PIDs.</p>

<p>kill returns 0 on success or &#62;0 if an error occurred.</p>

<p>kill is built-in to csh(1); See csh(1) for details.</p>

<p>Only the super-user may send signals to other users&#39; processes.</p>

<p>This version of kill does not support <i>-l [signal]</i> since there didn&#39;t seem to be any use to the parameter (it didn&#39;t work on any platform I tried either.)</p>

<p>Signal names may have the <i>SIG</i> prefix.
i.e.: <code lang='und' xml:lang='und'>kill -HUP</code> and <code lang='und' xml:lang='und'>kill -SIGHUP</code> are equivalent.</p>

<p>The signal list <code lang='und' xml:lang='und'>kill -l</code> displays in an &#34;extended&#34; form which lists both the signal name and the signal number for easy reference.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="HISTORY"
>HISTORY</a></h1>

<p>Perl version rewritten for the Perl Power Tools project from the description of the kill program in OpenBSD.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>

<p>Theo Van Dinter (felicity@kluge.net)</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SEE_ALSO"
>SEE ALSO</a></h1>

<p>csh(1),
ps(1),
kill(2)</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="POD_ERRORS"
>POD ERRORS</a></h1>

<p>Hey!
<b>The above document had some coding errors,
which are explained below:</b></p>

<dl>
<dt><a name="Around_line_88:"
>Around line 88:</a></dt><p class="pad"></p>

<dd>&#39;=item&#39; outside of any &#39;=over&#39;</dd><p class="pad"></p>

<dt><a name="Around_line_100:"
>Around line 100:</a></dt><p class="pad"></p>

<dd>You forgot a &#39;=back&#39; before &#39;=head1&#39;</dd><p class="pad"></p>
</dl>

<!-- end doc -->

</body></html>