<!-- $Id: timelimit.html,v 1.3 1998/10/28 16:07:57 thoth Exp $
 Copyright 1997-98 by Robert Forsman
-->
<title> TIMELIMIT 1 "February 12, 1998"</title>
<h1>NAME</h1>
timelimit - spawn a subprocess and if the child does not finish
within the time limit either kill it, or exit, leaving the child in
the background.

<p> netpipes 4.2

<h1>SYNOPSIS</h1>
<b>timelimit</b>
[ <b>-v</b> ]
[ <b>-nokill</b> ]
<i>time</i>
<i>command args</i>

<h1>DESCRIPTION</h1>

<B>timelimit</B> is used to limit the amount of foreground wallclock
time a process consumes.  Once the time limit expires <B>timelimit</B>
will kill the process unless <B>-nokill</B> is specified.

<p> <B>-v</B> adds some diagnostic messages.

<h1>EXAMPLES</h1>

<pre>timelimit 5m faucet 3000 --out cat time-sensitive-info</pre>

<h1>SEE ALSO</h1>
<a href="netpipes.html">netpipes</a> (1)

<h1>BUGS</h1>
<p>   Find 'em.  Send 'em in.  I'll teach them to gnaw on my code!

<h1>CREDITS</h1>

<p> Francis Liu <a
href="mailto:fxl@pulse.itd.uts.edu.au">&lt;fxl@pulse.itd.uts.edu.au&gt;</a>
suggested that I modify timelimit so that it doesn't SEGV when invoked
with no arguments.

<h1>COPYRIGHT</h1>
Copyright (C) 1997-1998 Robert Forsman

<p> This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

<p> This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

<p> You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

<h1>AUTHOR</h1>
 Robert Forsman <br>
 <a href="mailto:thoth@purplefrog.com">thoth@purplefrog.com</a> <br>
 <a href="http://web.purplefrog.com/">Purple Frog Software</a> <br>
 <a href="http://web.purplefrog.com/~thoth/">http://web.purplefrog.com/~thoth/</a>
