[Top][All Lists]

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

Re: --ungroup example

From: Ole Tange
Subject: Re: --ungroup example
Date: Tue, 15 Nov 2011 22:19:42 +0100

On Tue, Nov 15, 2011 at 2:02 PM, Hans Schou <address@hidden> wrote:

> I just had a mistake with parallel - it did not work.
> Two servers rebooted and I was waiting for them to come online again.
> They might run fsck so I wanted to login to the first one which came
> up.
>  parallel ping :::
> responce - arghh? Both of them can not boot!
> Solution:
>  parallel --ungroup ping :::

This might be a better solution for your problem:

  parallel -j0 w4it-for-port-open {} 22\; echo {}\;echo ::: | parallel -r --tty ssh


That will wait for port 22 to open on any of the machines and then ssh
to that machine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]