parallel
[Top][All Lists]
Advanced

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

Re: help on remote ssh cmd


From: p sena
Subject: Re: help on remote ssh cmd
Date: Mon, 8 Jul 2013 20:58:44 -0700 (PDT)

Hi Ole,

My parallel version is :
GNU parallel 20101115
Copyright (C) 2007,2008,2009,2010 Ole Tange and Free Software Foundation, Inc.

Seemed both the commands didn't worked ? But the way I showed you it worked ( parallel -j 1 --basefile some-file-2-copy  -S H1,H2 ::: "hostname && /home/username/that-file-copied" "hostname && /home/username/that-file-copied") , is that way Ok, is it doing the things parallel ?

So I need to upgrade the version to fix this ?

Thanks.
 

----- Original Message -----
From: Ole Tange <tange@gnu.org>
To: p sena <senapati2001@yahoo.com>
Cc: "parallel@gnu.org" <parallel@gnu.org>
Sent: Tuesday, July 9, 2013 1:24 AM
Subject: Re: help on remote ssh cmd

Hi Sena.

Instead of starting at the deep end try getting the basic working first.

Which of these do not work:

  parallel --tag --nonall -S server1,server2 uptime

  parallel --tag --onall -S server1,server2 echo ::: 1 2 3

/Ole

On Mon, Jul 8, 2013 at 8:34 PM, p sena <senapati2001@yahoo.com> wrote:
>
> Thanks Ole.
>
> Somehow the --tag & --nonall or --onall did not worked for me. Hence i made use this way-
>
> parallel -j 1 --basefile some-file-2-copy  -S H1,H2 ::: "hostname && /home/username/that-file-copied" "hostname && /home/username/that-file-copied"
>
> Is this Ok ?
>
> If I use --tag with --nonall or --onall then I get this err msg & it hang up-
>
> parallel: Input is tty. Press CTRL-D to exit.
>
>  thanks.
>
> ----- Original Message -----
> From: Ole Tange <tange@gnu.org>
> To: p sena <senapati2001@yahoo.com>
> Cc: parallel@gnu.org
> Sent: Monday, July 8, 2013 6:51 PM
> Subject: Re: help on remote ssh cmd
>
> Hi Sena.
>
> Please use parallel@gnu.org for support.
>
> For running the same command on remote computers please read:
>
> http://www.gnu.org/software/parallel/man.html#example__running_the_same_command_on_remote_computers
>
> You may also learn something by reading the rest of the examples.
>
>
> /Ole
>


reply via email to

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