Commit graph

475 commits

Author SHA1 Message Date
Ole Tange 6748cf82c8 Unittest adapted. 2012-11-21 22:28:52 +01:00
Ole Tange 14c0f88523 src/parallel: Compatible with FreeBSD7 perl 5, version 16, subversion 2 (v5.16.2) 2012-11-20 00:31:33 +01:00
Ole Tange ce02b6f794 niceload: minimal --sensor support. 2012-11-09 16:51:38 +01:00
Ole Tange 00a2b4d119 Load avg on BSD:
Michał Markowski says:
"uptime" output on OpenBSD and FreeBSD (so probably NetBSD and DragonflyBSD too) look similar to this:
 2:22PM  up 30 days, 13:44, 1 user, load averages: 0.06, 0.09, 0.13
2012-10-31 21:09:47 +01:00
Ole Tange f42a5c32ba src/parallel: vmstat for 17 columns.
Rhys Ulerich's vmstat version has 17 columns.

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
 r  b swpd   free   buff    cache   si   so    bi    bo in   cs us sy id wa st
 0  0    0 587736 320220 62341788    0    0    20    36  1    1  4  0 95  0  0
2012-10-25 01:03:59 +02:00
Ole Tange c49e7b4842 Released as 20121022 ('Hanne Vilmann'). 2012-10-23 00:05:26 +02:00
Ole Tange f6a6a35309 testsuite: niceload impoved. Fewer --env tests. 2012-10-22 23:08:54 +02:00
Ole Tange 75f54b795f testsuite: virtualbox added. Other tests made more portable. 2012-10-22 08:32:39 +02:00
Ole Tange c8e032b279 Fixed bug #37589: Red Hat 9 (Shrike) perl v5.8.0 built for i386-linux-thread-multi error 2012-10-17 20:33:49 +02:00
Ole Tange d9675d0bd0 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	src/parallel
	testsuite/tests-to-run/parallel-local2.sh
2012-10-17 02:16:01 +02:00
Ole Tange fcaf41b325 parallel: Fixed to pass local testsuite and some Perl::Critic issues. 2012-10-17 02:09:03 +02:00
Drew Frank d2678e53b0 python: add expected output to README example. 2012-10-15 17:12:43 -07:00
Drew Frank f76b04b181 python: add small example to README. 2012-10-15 16:34:53 -07:00
Ole Tange 42d4c35270 parallel.pod: --results example. 2012-10-16 01:24:35 +02:00
Ole Tange 4623995286 Merge branch 'master' of git.sv.gnu.org:/srv/git/parallel 2012-10-15 15:48:16 +02:00
Ole Tange dd5093f8b4 parallel: --env includes test + man and works for t?csh, too. 2012-10-15 15:47:10 +02:00
Drew Frank ed669630c6 python: process result files after metadata type inference. 2012-10-11 15:07:24 -07:00
Drew Frank b2f8450bf3 add gnuparallel python package. 2012-10-09 14:09:17 -07:00
Drew Frank 141eb4d5ea parallel: --results uses stdout\t rather than stdout_ in file names. 2012-10-05 16:33:31 -07:00
Ole Tange c60cc12b24 parallel: Fixed Perl::Critic: Loop iterator is not lexical. 2012-10-02 00:55:06 +02:00
Ole Tange a50adb5080 parallel: map rewritten as per http://perlmonks.org/index.pl?node_id=743445 2012-10-02 00:47:00 +02:00
Ole Tange 456529e046 parallel: Perl::Critic: Fewer Bareword file handles. 2012-10-02 00:13:52 +02:00
Ole Tange 09eb14e124 parallel: PerlCritic: open 2 args -> open 2 args. 2012-10-01 22:52:58 +02:00
Ole Tange b170f88593 bug #34369: GNU Parallel Bug Reports Incorrect number of jobs-completed with --progress. 2012-10-01 22:33:17 +02:00
Ole Tange 5c557c0973 parallel: Fixed https://savannah.gnu.org/bugs/?36942 2012-10-01 21:00:20 +02:00
Ole Tange 7a2e3d731b parallel: fixed --results if argument contains \t \0 and /. This may have destroyed default --colsep=\t. 2012-10-01 11:30:16 +02:00
Ole Tange c8051ced91 parallel: --results now with header \t value filenames. 2012-10-01 00:04:52 +02:00
Ole Tange fc1c13dca2 Version number. 2012-09-28 15:26:15 +02:00
Ole Tange 418fa0e7e0 src/parallel: Implemented --results 2012-09-28 15:25:33 +02:00
Ole Tange e2e9fcaf46 parallel.pod: Example of speeding up fast jobs. \' for quoting. 2012-09-27 11:41:40 +02:00
Ole Tange 1f5be2bb43 parallel: --env implemented. Test fails, man page missing. 2012-09-23 23:21:13 +02:00
Ole Tange cdb8944aad parallel: slow down ssh to do more logins than MaxStartup. Passes unittest. 2012-09-09 19:16:48 +02:00
Ole Tange 810b6fdc93 parallel: --number-of-cpus bug on Linux 2.6.26 fixed. 2012-09-03 23:09:00 +02:00
Ole Tange a5ca8c6dae Released as 20120822 ('Boson') 2012-08-22 21:44:13 +02:00
Ole Tange ec76d20b25 parallel: --plain + man + test implemented. Passes testsuite. 2012-08-08 21:25:18 +02:00
Ole Tange 783d2d42f3 parallel: Error and warning sub to ensure consistent errors and warnings. 2012-08-08 18:38:29 +02:00
Ole Tange ed6903976b Better support for limited number of processes in process table. 2012-08-07 00:52:08 +02:00
Ole Tange 92b9592f1d Partly fix for bug #37010: Problems if ulimit -n is > 1024 2012-08-02 21:28:56 +02:00
Ole Tange 0a026db5e7 Fixed: bug #37004: niceload example does not work 2012-08-01 23:06:26 +02:00
Ole Tange 9625fe4453 Released as 20120722 ('Nai Soi') 2012-07-24 02:09:47 +02:00
Ole Tange bea6102042 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel 2012-07-19 16:37:18 +02:00
Ole Tange 88c50259d8 parallel: Fixed bug #36707: --controlmaster eats jobs 2012-06-28 22:38:14 +07:00
Ole Tange a0ee9af15f parallel.pod: man page update 2012-06-28 22:19:47 +07:00
Ole Tange 045ed19142 Released as 20120622 ('Chiang Mai') 2012-06-23 07:34:35 +02:00
Ole Tange 888c5999a2 Passes testsuite. 2012-06-15 00:46:15 +02:00
Ole Tange 05e66ecaa5 Fixed bug #34958: --pipe with --record size measured in lines. 2012-06-14 23:13:11 +02:00
Ole Tange 7a76e79185 Fixed bug #36657: --load does not work with custom ssh. 2012-06-14 22:30:24 +02:00
Ole Tange 67d4db2279 Fixed bug #36660: --workdir mkdir does not use --sshlogin custom ssh. 2012-06-14 22:19:49 +02:00
Ole Tange 72402ef16e Fixed bug #36659: --sshlogin strips leading slash from ssh command. 2012-06-14 22:10:39 +02:00
Ole Tange 2c29653012 parallel: --shebang now works even if crazy people name their executable "<> or space. 2012-06-08 23:45:06 +02:00
Ole Tange 38ccd3f193 Fixed with test: bug #36595: silent loss of input with --pipe and --sshlogin. 2012-06-08 01:07:25 +02:00
Ole Tange 9489733155 parallel: defined(@array) is deprecated. 2012-06-07 21:20:18 +02:00
Ole Tange 7570adf0cd parallel: Rolled back SIGINT patches for now. 2012-06-06 00:14:28 +02:00
Ole Tange f2ca6436c6 parallel: Fixed bug #36352: --timeout not working on Solaris. 2012-06-03 22:51:22 +02:00
Ole Tange 1a98839ca4 parallel: Fixed bug #36585: Ctrl-C should propagate to remote. 2012-06-03 22:33:00 +02:00
Ole Tange 541bde1838 parallel: basic --filter-hosts working. 2012-05-28 02:50:03 +02:00
Ole Tange 832ce24df5 parallel: Number of cpus detected wrongly on RedHat Enterprise 4.6. 2012-05-27 20:57:44 +02:00
Ole Tange c7c0ad193c parallel.pod: Thanks to A. Costa for spotting speling erors. 2012-05-27 18:14:25 +02:00
Ole Tange 57538c384e parallel: Bug fixes for --tollef compatibility. 2012-05-27 17:51:09 +02:00
Ole Tange 22b295cef1 parallel: --pipe now forks instead of busy looping. 2012-05-24 02:03:57 +02:00
Ole Tange 91899593fc Released as 20120522 ('Hollande'). 2012-05-22 20:36:20 +02:00
Ole Tange f0540d5c23 parallel: --joblog for --(n)onall 2012-05-22 00:25:29 +02:00
Ole Tange 76c477d94d parallel: Timings in --joblog now with milliseconds. 2012-05-13 16:34:29 +02:00
Ole Tange b35e5ff721 Reorg of testsuite. 2012-05-13 16:03:41 +02:00
Ole Tange 1371108e64 Fixed with test: Test bug #35820: sem breaks if $HOME is not writable 2012-05-13 16:03:13 +02:00
Ole Tange aad8d689ba parallel.pod: Elaborated more on dangers with -u. 2012-05-06 12:54:51 +02:00
Ole Tange 29726eee6e parallel: added --tagstring + man + test.
parallel.pod: Elaborated on problems with -u.
2012-05-06 12:43:40 +02:00
Ole Tange 6485581f5a parallel: test for --er and --extensionreplace 2012-04-24 23:59:29 +02:00
Ole Tange 243d3f2c48 Released as 20120422 ('Mærsk'). 2012-04-22 00:14:20 +02:00
Ole Tange afbbc30ce6 sql --dbsize will now list sizes of all databases if given no database. 2012-04-21 20:16:59 +02:00
Ole Tange 463ec5bc0b Fixed: bug #36151: swap_activity broken in v20120322. Passes testsuite. 2012-04-21 00:34:24 +02:00
Ole Tange 457320998f Fixed: bug #36260: {n} expansion in --colsep files fails for empty fields if all following fields are also empty 2012-04-20 20:49:40 +02:00
Ole Tange a772df5872 Forgot to change version no. 2012-04-11 01:08:26 +02:00
Ole Tange f4f5fdd6c6 Fixed: bug #36139: --load causes parallel not to finish 2012-04-09 16:31:05 +02:00
Ole Tange 27c776acb5 src/parallel: LANG=C so uptime prints X.XX not X,XX. $/=undef so -d : works. 2012-04-05 13:31:22 +02:00
Ole Tange f68130ebba Released as 20120322. 2012-03-23 00:29:46 +01:00
Ole Tange 0659327dd5 test38.sh: Perl 5.14 seems to break test of old perl. perl32 binary included. 2012-03-22 01:19:51 +01:00
Ole Tange 53af321280 parallel.pod: man page update for ClusterSSH. 2012-03-21 21:42:26 +01:00
Ole Tange 93c5c6aaa5 Bug fixes in the man page. 2012-03-15 21:23:53 +01:00
Ole Tange 202f2ec571 Updated man page on --load. 2012-03-15 21:16:35 +01:00
Ole Tange f08db40a33 bug #35427: quoting of {2} broken for --onall.
bug #35803: sentence structure / wrong spelling in manpage.
2012-03-12 23:38:38 +01:00
Ole Tange 513089c881 Fixed bug #35469: niceload --process" doesn't work after July-2011 release. 2012-03-04 02:24:37 +01:00
Ole Tange bcebac44b1 bug #35544: --pipe would read from :::: (-a) 2012-02-27 01:51:54 +01:00
Ole Tange 6f730374d8 Patch for --noswap on Mac. Untested. 2012-02-26 02:14:46 +01:00
Ole Tange 020406059e Released as 20120222 ('Whitney'). 2012-02-22 19:31:36 +00:00
Ole Tange 9fd2f95bf3 OBS did not compile due to missing pod2texi. 2012-02-21 20:06:23 +00:00
Ole Tange 587c5e23be Released as 20120220 alpha. 2012-02-20 23:40:47 +00:00
Ole Tange 3e996c9a57 --wd . implemented. Passes testsuite. 2012-02-20 00:48:28 +00:00
Ole Tange d0509d0120 texi-files generated from pod2texi. 2012-01-24 21:53:25 +01:00
Ole Tange 5e8e95ecf0 parallel: --header with {colnames} for multiple :::'s 2012-01-22 04:42:05 +01:00
Ole Tange add040c278 parallel: --slf . now reads /etc/parallel/sshloginfile 2012-01-14 00:57:48 +01:00
Ole Tange 379c0cd36b parallel.pod: --header + EXAMPLE: Using shell variables 2012-01-14 00:53:19 +01:00
Ole Tange 7d75bde672 parallel: Fixed regression bug. 2012-01-11 23:07:31 +01:00
Ole Tange c34e6c489c parallel: --header with regexp (try: --header '\n') 2012-01-11 00:08:23 +01:00
Ole Tange 08e1366c5d parallel: limit memory consumption if only 1 input source. 2012-01-10 21:58:39 +01:00
Ole Tange 3009913a66 bug #35268: shell_quote doesn't treats [] brackets correctly.
Merging of tests.
2012-01-10 00:09:01 +01:00
Ole Tange 7bd02750a5 niceload now propagates exit status correctly. Passes testsuite. 2012-01-08 19:52:00 +01:00
Ole Tange 92d7c462e7 parallel: --header will now parse the first line and you can use column names as {colname}. Experimental => man missing. 2012-01-07 04:22:48 +01:00
Ole Tange 8c4b0ba4b9 parallel: --header will now parse the first line and you can use column names as {colname}. 2012-01-07 04:17:13 +01:00
Ole Tange fc65ca9626 parallel: implemented --resume incl. test. 2012-01-07 03:29:48 +01:00
Ole Tange dbfb878246 parallel: retired -g -B -T -U -W -Y 2012-01-07 02:24:50 +01:00
Ole Tange 7422375902 Released as 20111222 ('Hitchens'). 2011-12-22 00:17:49 +01:00
Ole Tange 6f3da78d6c bug #35069: --pipe without command should give reasonable error message. 2011-12-18 21:49:37 +01:00
Ole Tange 2506e775f7 parallel: Hans gets Undefined subroutine &Data::Dump::dump at 1949. Eval a dummy sub. 2011-12-18 17:10:26 +01:00
Ole Tange 637f5391af -S + --timeout did not repect --timeout. 2011-12-11 00:16:41 +01:00
Ole Tange 8a7f45c6a2 Fixed bug #34955: Timed-out processes are not identified as failures.
Fixed bug #34954: --timeout should kill process groups.
Released as 20111209 alpha.
2011-12-09 23:25:20 +01:00
Ole Tange d9de48a1aa Updated video to playlist. 2011-11-22 22:52:52 +01:00
Ole Tange 140337dc73 Released as 20111122 ('Silvio'). 2011-11-22 22:38:57 +01:00
Ole Tange 6ae7f48c72 Let *.html depend on eachother to avoid race condition and dependency on sem. 2011-11-15 01:45:00 +01:00
Ole Tange e15b48be86 parallel: If flock is unimplemented: Wait for random*5 sec instead. 2011-11-15 01:44:30 +01:00
Ole Tange 4612f69097 parallel: tcsh does not allow 'nice -n19', so use full path for nice. 2011-11-15 01:15:23 +01:00
Ole Tange 1d3bc2eff5 parallel: $SHELL is sometimes not set in Mac OS X 2011-11-13 13:19:15 +01:00
Ole Tange 9c2e7a6794 Prerelease 20111022. 2011-10-23 01:49:32 +02:00
Ole Tange f91661b86b Fixes bug #34422: parallel -X --eta crashes with div by zero 2011-10-18 00:04:20 +02:00
Ole Tange 0cd02204c4 parallel: Multiple --sshloginfile supported. Passes testsuite. 2011-10-17 03:10:32 +02:00
Ole Tange ebac7477d7 parallel: --bibtex implemented 2011-10-15 00:21:23 +02:00
Ole Tange a25961d8d5 parallel: support for multiple --profile. 2011-10-13 23:58:02 +02:00
Ole Tange 50edcdd38d parallel.pod: Example of --tag with uptime 2011-10-10 22:20:18 +02:00
Ole Tange 5c92569669 parallel.pod: Start phasing out some rarely used single letter options.
Added --tag example. Rewrote explanation for breadth first web crawler.
2011-10-10 22:14:55 +02:00
Ole Tange fd138579c3 parallel: Makefile for creating .deb package (dependent on --minversion) 2011-10-10 21:59:19 +02:00
Ole Tange a5cd7dc7ee Fixes: bug #34463: parallel -S .. --tag --onall ::: date uptime gives uninitialized value. 2011-10-03 01:37:32 +02:00
Ole Tange beef9c13ec Version number++ 2011-10-03 00:03:56 +02:00
Ole Tange 3e4f57e5e6 Implemented --tag for remote machines. 2011-10-03 00:02:44 +02:00
Ole Tange a800b4e3d6 christmastree: Initial version
parallel: use $0 as parallel command
2011-09-26 01:15:57 +02:00
Ole Tange b511c409ad sql: fixed bug #34034: sql: --list-databases 2011-09-24 02:51:10 +02:00
Ole Tange 986f69db11 parallel: fixed bug #33995: Jobs executed with sh instead of $SHELL 2011-09-24 02:35:16 +02:00
Ole Tange 9fad573774 parallel: implemented --tag 2011-09-24 02:16:06 +02:00
Ole Tange d0f6c9a0aa parallel: { and } were not quoted correctly so this would fail:
echo a b | parallel --pipe -q awk '{print $2, $1}'
2011-09-16 15:26:17 +02:00
Ole Tange c48c5fb7b9 parallel: Implemented --shellquote 2011-09-09 21:15:00 +02:00
Ole Tange 795c0fa3bd Fixes: bug #34240: --pipe does not respect -r 2011-09-08 10:53:26 +02:00
Ole Tange b53dda2525 Released as 20110822 ('Utøya'). Passes testsuite. 2011-08-22 01:45:23 +02:00
Ole Tange 38b1fe9a41 Implemented --timeout with testsuite. Updated man page for release. 2011-08-22 01:01:57 +02:00
Ole Tange 0648fc5846 parallel: --nonall/onall now respect --basefile. Does NOT pass testsuite. 2011-08-20 21:13:25 +02:00
Ole Tange 78f82d0b39 man page: -u can speed up. Nested loop example. Bug report requirements. 2011-08-09 22:00:31 +02:00
Ole Tange 207f8dfabc parallel: --block support both base 2 and base 10: k=1000, K=1024, Ki=1024. 2011-08-03 11:54:55 +02:00
Ole Tange 3a7097684c parallel: ignore errors from sysctl. sr #107762: get multiple sysctl: not found message when running parallel 2011-08-02 23:18:28 +02:00
Ole Tange 82b50467ce parallel: CPU detection improved for Mac OSX (Thanks to Wayne E. Seguin). 2011-07-29 17:44:37 +02:00
Ole Tange 67e3d3ea77 parallel: Code reorg. Copyright notice added.
niceload: Copyright notice added.
Passes testsuite.
2011-07-29 14:58:18 +02:00
Ole Tange ab899c36a6 parallel: fixed with test case bug #33623: --load doesn't parse percentage or filename arguments.
parallel: Empty job caused not being run in parallel.
2011-07-28 21:09:27 +02:00
Ole Tange 7d418b34ce niceload: man example of Ensure enough disk cache 2011-07-28 20:14:57 +02:00
Ole Tange d70f2eb8ee parallel: man page example with web crawler -> web mirrorer 2011-07-28 20:12:02 +02:00
Ole Tange 5298af094d parallel man page: parallel web spider 2011-07-27 19:34:30 +02:00
Ole Tange f3203c6a72 Some minor doc changes 2011-07-26 00:12:46 +02:00
Ole Tange f2a1b50250 Released as 20110722.
Fixed man/html generation niceload -> niceload.pod.
Passes testsuite.
2011-07-22 11:08:58 +02:00
Ole Tange 8d13ddebbe niceload: --recheck was not respected. More test suite cases.
alpha/beta testing in man page updated.
2011-07-22 10:47:14 +02:00
Ole Tange 524bfaa19a niceload: Suspending/resuming did not work 2011-07-21 01:06:50 +02:00
Ole Tange 67683ba324 niceload: Treated CTRL-Z wrongly 2011-07-21 00:58:38 +02:00
Ole Tange 36e690d55f niceload: Don't set default if --io, --load, --mem, or --noswap is set 2011-07-21 00:52:13 +02:00
Ole Tange 43788cb720 parallel: Replacement of many replacementstring is now faster 2011-07-20 23:42:59 +02:00
Ole Tange e01a4515fa parallel: Give error if command start with '-' and is not in path 2011-07-20 18:22:31 +02:00