Re: Vote: Should $PARALLEL_PID {#} count from 0 or 1

2011-04-14 Thread Hans Schou
2011/4/14 Ole Tange ta...@gnu.org: I have implemented {#} as an alias for  $PARALLEL_PID in the current Git version. See http://savannah.gnu.org/bugs/?33005 It currently counts from 1 just like $PARALLEL_PID. Dear users: Would you prefer it counts from 0 or from 1? Please elaborate why. The

Re: How to use scp using parallel by tyoing password only once

2011-04-30 Thread Hans Schou
On Sat, 30 Apr 2011, Shantanu Unknown wrote: I think the problem is clear, I have a bunch of files in a file which I want to scp using parallel. But when I do that it asks for a password evertime I want to do scp? So it possible t o invoke scp with gnu parallel and with only 1 instance of

Re: parallel cat

2011-07-17 Thread Hans Schou
On Fri, 15 Jul 2011, Dan Kokron wrote: All, I have a bunch (~200) small (1K to 100K) binary files that I want to 'cat' into a larger file. I usually use cat pe* diag, but this I guess that pe* is sorted before they are 'cat'. If you don't need them sorted try this one: time ls -U pe* |

Re: git pull error - pls ignore configure

2011-10-03 Thread Hans Schou
On Tue, 4 Oct 2011, Ole Tange wrote: On Mon, Oct 3, 2011 at 12:38 AM, Hans Schou ch...@schou.dk wrote: $ git pull From git://git.savannah.gnu.org/parallel   ab1fe95..beef9c1  master     - origin/master Updating ab1fe95..beef9c1 error: Your local changes to the following files would

./packager/debian/buildpackage.sh

2011-10-08 Thread Hans Schou
Hi Can I have the attached script added to the git-repo? It will simplify my needs for a Debian packages. I had to have the two lines with GLO_VER to make Debian have the same version number. If possible it would be nice if this global version number was set along with the version in

--ungroup example

2011-11-15 Thread Hans Schou
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 ::: example.org example.com no responce - arghh? Both of them can not boot!

Re: --timeout

2011-12-12 Thread Hans Schou
2011/12/11 Ole Tange o...@tange.dk: On Fri, Dec 9, 2011 at 2:55 PM, Hans Schou hans.sc...@gmail.com 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

Undefined subroutine Data::Dump::dump line 1949

2011-12-16 Thread Hans Schou
Hi I sometimes get this error: Undefined subroutine Data::Dump::dump called at /usr/local/bin/parallel line 1949, GEN0 line 1. And sometimes I get it two times in a run. $ parallel --version GNU parallel 20111209 (it is the git trunk version) Command: parallel --tag -j+0 -S .. --nonall

Re: GNU Parallel merchandise

2012-01-06 Thread Hans Schou
I guess normal price would be around 2012/1/6 Ole Tange ta...@gnu.org I am trying to get a packaged deal on: 1 GNU Parallel T-shirt (Logo on chest) 12 EUR 100 GNU Parallel postcards (the front will have the 9 parallel bars 6 EUR 1 GNU Parallel pen (Logo on handle) 6 EUR

Re: GNU Parallel merchandise

2012-01-06 Thread Hans Schou
2012/1/6 Ole Tange ta...@gnu.org On Fri, Jan 6, 2012 at 12:26 PM, Hans Schou ch...@schou.dk wrote: I guess normal price would be around What I am interested in knowing is not normal price, but what YOU would be willing to pay (both above and below normal price). Willing to pay? 1

Re: distributed grep

2012-02-19 Thread Hans Schou
On Sat, 18 Feb 2012, siddharth chhabra wrote: Hi I have have 3 servers (lets say server1.mycompany.com,server2.mycompany.com and server3.mycompany.com) On all 3 servers I have log files called server.log in the following locations - /home/testuser/store1/log/server.log

Re: Retiring --tollef

2013-02-15 Thread Hans Schou
2013/2/16 Ole Tange ta...@gnu.org Do you want to save --tollef (And thus take the extra support)? Or are you OK with retiring the option? My vote: retire /hans

Re: job race!

2013-04-24 Thread Hans Schou
Use --joblog to get the execution time and after each job-line running jobs.txt add ; killall racejobs . Does this make sence? /hans 2013/4/23 Ozgur Akgun ozgurak...@gmail.com Hi, I wonder if I can use parallel to implement a race of jobs. Following is what I want. Given X jobs, start

Re: job race!

2013-04-24 Thread Hans Schou
2013/4/24 Ozgur Akgun ozgurak...@gmail.com Hans, On 24 April 2013 07:28, Hans Schou ch...@schou.dk wrote: Use --joblog to get the execution time and after each job-line running jobs.txt add ; killall racejobs . Does this make sence? I don't think I understand this. Say we have

Re: how to run remote bash scripts with |, - characters in it

2013-10-11 Thread Hans Schou
Explamation point is a problem. WRONG: echo Hello, world! RIGHT: echo Hello, world\! OR: echo Hello, world\! Will this work? #! /bin/bash cd /dir/logs/pot1/jagger for f in logs-2013-10-09-*.gz; do echo Hello World | Hi Hell\!\! , | , | zcat $f | /bin/egrep 'TIMEOUT|error' |

Re: using parallel for remote host processing

2013-10-12 Thread Hans Schou
2013/10/12 Ole Tange ta...@gnu.org An sshlogin is of the form: [sshcommand [options]][username@]hostname It looks like a missing space there. I guess it should be [sshcommand [options ]][username@]hostname example: ssh -o

Re: Parallel input from growing file?

2014-12-14 Thread Hans Schou
Start reading this chapter in the man page: EXAMPLE: GNU Parallel as queue system/batch manager You are not the first who (mis-)use Gnu Parallel as a queue manager. /hans 2014-12-14 12:01 GMT+01:00 xmoon 2000 xmoon2...@googlemail.com: Hi, Currently I read jobs from a file on my c drive

Re: GNU Parallel 20150822 ('Hans Vibeke') released

2015-08-23 Thread Hans Schou
2015-08-23 13:11 GMT+02:00 Shlomi Fish shlo...@shlomifish.org: Hi Ole, On Sat, 22 Aug 2015 11:55:49 +0200 Ole Tange ta...@gnu.org wrote: GNU Parallel 20150822 ('Hans Vibeke') has been released. It is available for download at: http://ftp.gnu.org/gnu/parallel/ Pardon my ignorance, but

Re: GNU Parallel 20160522 ('TTIPleaks') released

2016-05-25 Thread Hans Schou
2016-05-22 15:01 GMT+02:00 Ole Tange : > GNU Parallel 20160522 ('TTIPleaks') has been released. It is available > > * Vote for GNU Parallel's community ad on > > https://meta.askubuntu.com/questions/14925/community-promotion-ads-2016/15046#15046 > > I better like that: All your

Re: GNU Parallel 20160222 ('N977GA') released [stable]

2016-02-23 Thread Hans Schou
2016-02-22 23:48 GMT+01:00 Ole Tange : > GNU Parallel 20160222 ('N977GA') [stable] has been released. It is > available for download at: http://ftp.gnu.org/gnu/parallel/ Congrats with the release, but what is it about the release name N977GA? As far as I know it is mister

Re: Citation requirement and the GPL

2016-03-27 Thread Hans Schou
2016-03-27 11:20 GMT+02:00 Christopher Jefferson : > If I used parallel to simply speed up a set of analysis of data? Then > I would not cite it, in the same way I wouldn't cite xargs This is actually what 'parallel' does for most people: Replacing xargs to get more

Re: writing a combined list of all unique pairs

2016-05-11 Thread Hans Schou
I don't think it can be done within parallel, you have add some script around it. Here is a bash version: echo {A..F} | tr ' ' '\n' > list1 echo {1..4} | tr ' ' '\n' > list2 parallel 'while read; do echo {} $REPLY ; done < list2' < list1 2016-05-11 18:00 GMT+02:00 Patrick Buchholz <

joblog + sshlogin, use 'column -t'

2017-01-28 Thread Hans Schou
Suggestion, add 'column -t' to get aligned output with joblog In most examples in https://www.gnu.org/software/parallel/parallel_tutorial.html the output is column aligned but it can happen that it is unaligned with large numbers or with long hostnames. find -name '*.html' | parallel --joblog

Re: GNU Parallel - Error:Argument list too long

2017-01-17 Thread Hans Schou
It takes a long time to sort the files and if you don't need that use -U ls -U | parallel do_domething You don't have to specify amount of cpu to use. `parallel` will be greedy by default. 2017-01-16 12:49 GMT+01:00 Shlomi Fish : > Hi Samdani A., > > On Mon, 16 Jan

Re: GNU Parallel for Oracle Enterprise Linux 6.3

2017-02-26 Thread Hans Schou
2017-02-27 5:55 GMT+01:00 sandeep ram : > Is GNU Parallel tool available for Oracle Enterprise Linux 6.3? > I don't think Oracle Linux has a package for GNU Parallel. > If so can you send me the link, it would help me a lot. > The simple install instruction is

Re: GNU Parallel for Oracle Enterprise Linux 6.3

2017-02-26 Thread Hans Schou
2017-02-27 7:37 GMT+01:00 sandeep ram : > Hi, I tried to install using this link (wget -O - pi.dk/3 || curl pi.dk/3/ > || fetch -o - http://pi.dk/3) | bash and the link (wget -O - pi.dk/3 || > curl pi.dk/3/) | bash which you have sent.But it is failing to install. >

Re: Bash for loop parallelising

2016-10-20 Thread Hans Schou
This should work parallel command -n -c {} '>' {.}.csv \; mv \${f%.txt}.csv csv/ \; rm \$f ::: *.txt 2016-10-20 11:10 GMT+02:00 Samdani A : > Hi > > Am trying to convert a simple bash script file which is given below. I was > able to do it using parallel but not able to

Re: It says I found a bug?

2016-11-23 Thread Hans Schou
Hi You ran the test with version 20160922. If possible upgrade to 20161122 and run your test again. 2016-11-23 5:23 GMT+01:00 Pierre Poujade : > Hi, > > I wanted to see how parallel behaves when one of the hosts is down. > root@nope is down (host doesn't exist on the network

Fwd: It says I found a bug?

2016-11-25 Thread Hans Schou
This mail should go to the list. -- Forwarded message -- From: Pierre Poujade <p...@poujade.org> Date: 2016-11-25 4:20 GMT+01:00 Subject: Re: It says I found a bug? To: Hans Schou <ch...@schou.dk> Alright, I tried with 20161122 and I have the same error.

Re: It says I found a bug?

2016-11-24 Thread Hans Schou
lease name ('Trump') and it should be stable ;-) On 23 Nov 2016, at 3:11, Hans Schou wrote: Hi You ran the test with version 20160922. If possible upgrade to 20161122 and run your test again. 2016-11-23 5:23 GMT+01:00 Pierre Poujade <p...@poujade.org>: > Hi, > > I wanted to

Re: GNU Parallel 20180222 ('Henrik') released

2018-02-22 Thread Hans Schou
On Thu, Feb 22, 2018 at 10:55 PM, Ole Tange wrote: > * --embed makes it possible to embed GNU parallel in a shell script. > Ain't that a dirty hack ;-) I got the speech prepared: Within this decade, GNU Parallel would be rolled out on all desktops. Not because it is easy, but

Re: Testing firewall ports with parallel

2018-01-18 Thread Hans Schou
You could have all your hosts and ports in a file and pass that to parallel. File "dst_hosts" containing: cloud-ec.amp.cisco.com 443 cloud-ec.amp.cisco.com 32137 console.ampo.cisco.com 443 And then run: parallel -P 0 nc -w 2 -vz < dst_hosts Or with 'cat': cat dst_hosts | parallel -P 0

Re: GNU parallel bug

2018-09-20 Thread Hans Schou
Hi Ihsan > The version number: 20160222 That is quite an old version. You should upgrade to the newest version: http://ftp.gnu.org/gnu/parallel/?C=M;O=D Remember, 'parallel' is just one Perl script, so an upgrade could be as simple as downloading the tar-ball and replace that one file on your

Re: GNU parallel: bug found message

2019-01-19 Thread Hans Schou
On Fri, Jan 18, 2019 at 3:33 PM wrote: > parallel: This should not happen. You have found a bug. > Please contact and include: > * The version number: 20170322 > You have to upgrade to latest version 20181222 before reporting a bug. > * The bugid: host check too many col0: thalamus_nfs

Re: GNU Parallel 20210322 ('2002-01-06') released [stable]

2021-03-22 Thread Hans Schou
On Mon, Mar 22, 2021 at 11:23 PM Ole Tange wrote: > GNU Parallel 20210322 ('2002-01-06') [stable] has been released. For the old timers, this release is known as the "Makefile version". The great thing is that it actually shows where the whole idea came from: Do as gcc, compile independent

Re: bug when ssh host reports "REMOTE HOST IDENTIFICATION HAS CHANGED!"

2023-03-31 Thread Hans Schou
On Fri, 31 Mar 2023, Jaap Eldering wrote: > @@@ > @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@ If you re-install your server a new server private key