Re: command to ensure other command does last longer than 5 seconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/04/07, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
Hi,

I am wondering if there exists a centos command that runs another command
and ensures the second command doesnt take more than x seconds? When x
is given on the command line.

If the second command is not "done" the first command will just kill it
and both exit.

Does such a method or command exist?

I just need to ensure the second command does just continue to run and
run and run.

I found something on the web ages ago that does just this - see:

<http://www.splode.com/~friedman/software/scripts/src/with-timeout>

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux