[UFO Chicago] Shell scripting, timeouts

Jordan Bettis jordanb@hafd.org
Thu, 13 Feb 2003 13:35:05 -0600 (CST)


Ian Bicking said:
> There's this unreliable program (wvware) that is being run on a server
> I'm using.  Sometimes it goes into an infinite loop and takes up lots
> of CPU while it's just sitting there.
[...]
>
> But that's kind of lame.  The program won't return as fast as it
> usually can, if IO is done through stdin/stdout it would get all messed
>  up, etc.  Is there an easier/better way?

Why not kill it if it uses up too much cpu time?

-- 
Jordan Bettis <http://www.hafd.org/~jordanb>
This message has been written using my webmail system.