[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected positional replacement strings substitution
From: |
Ole Tange |
Subject: |
Re: Unexpected positional replacement strings substitution |
Date: |
Fri, 24 Feb 2017 20:50:02 +0100 |
On Thu, Feb 23, 2017 at 10:02 PM, Ole Tange <ole@tange.dk> wrote:
> On Thu, Feb 23, 2017 at 6:17 AM, aero <chahkang@gmail.com> wrote:
>
>> I am going to try like the following.
>> Send divided list to workers. And workers runs own parallel against the list
>> from master.
>>
>> cat SERVERLIST.txt | parallel --pipe -N[ int(lines count of SERVERLIST.txt/
>> number of workers) ] -S worker1,worker2,... 'cat | parallel ...'
>>
>> Is there any other good way to achieve job like this ??
>
> cmd='echo "joe two space"'
> cat SERVERLIST.txt | parallel --pipe -N1 -S worker1,worker2
> --roundrobin --cat parallel --slf {} --nonall -q "$cmd"
Forgot -j1 and -j0:
cmd='echo "joe two space"'
cat SERVERLIST.txt | parallel -j1 --pipe -N1 -S worker1,worker2
--roundrobin --cat parallel -j0 --slf {} --nonall -q "$cmd"
/Ole
- Unexpected positional replacement strings substitution, aero, 2017/02/11
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/17
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/17
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/18
- Message not available
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/19
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/20
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/23
- Re: Unexpected positional replacement strings substitution, Ole Tange, 2017/02/23
- Re: Unexpected positional replacement strings substitution, aero, 2017/02/24
- Re: Unexpected positional replacement strings substitution,
Ole Tange <=