Re: [clug] killing a looping / hung script?
James Ring <[email protected]> Mon, 5 Dec 2016 22:09:48 -0800
| Newsgroups | gmane.org.user-groups.clug |
|---|---|
| Message-ID | <CA+3tv225UCYf-i=w_+b3WBBvPdDJMz7gUctxpeqXER6-kXtydQ@mail.gmail.com> |
there's the timeout(1) command as part of GNU coreutils On Mon, Dec 5, 2016 at 10:05 PM, Paul Wilson <[email protected]> wrote: > I have a perl script which occasionally goes into a hung or wait state, and > wanted to know is there a standard way to automatically kill this process > after some timeout (eg 1 min). > Note the perl script is doing a Serial port read and for some reason it > waits if there is an issue with the Arduino. > > ie can I use some sort of wrapper script to check this state and kill it? > > Paul > -- > linux mailing list > [email protected] > https://lists.samba.org/mailman/listinfo/linux -- linux mailing list [email protected] https://lists.samba.org/mailman/listinfo/linux