--timeout

2011-12-10 Thread Hans Schou
I need to find a line on all servers. Some servers might be down in my list so I just want parallel to timeout after 10 sec: $ wc -l ~/.parallel/sshloginfile 38 /home/hans/.parallel/sshloginfile $ time parallel --tag -j30 -S .. --nonall --timeout=10 grep ^nameserver /etc/resolv.conf ... real3

Re: --timeout

2011-12-10 Thread Ole Tange
On Fri, Dec 9, 2011 at 2:55 PM, Hans Schou wrote: > I need to find a line on all servers. Some servers might be down in my > list so I just want parallel to timeout after 10 sec: > > $ time parallel --tag -j30 -S .. --nonall --timeout=10 grep > ^nameserver /etc/resolv.conf : > 3 minutes??? --time