File Makefile changed (mode: 100644) (index be51ab3..377121d) |
1 |
1 |
BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel |
BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel |
2 |
2 |
PERLSCRIPTS=vidir vipe ts combine zrun |
PERLSCRIPTS=vidir vipe ts combine zrun |
3 |
|
MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 mispipe.1 lckdo.1 |
|
|
3 |
|
MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 mispipe.1 lckdo.1 parallel.1 |
4 |
4 |
CFLAGS=-O2 -g -Wall |
CFLAGS=-O2 -g -Wall |
5 |
5 |
INSTALL_BIN?=install -s |
INSTALL_BIN?=install -s |
6 |
6 |
PREFIX=/usr |
PREFIX=/usr |
|
... |
... |
mispipe.1: mispipe.docbook |
44 |
44 |
lckdo.1: lckdo.docbook |
lckdo.1: lckdo.docbook |
45 |
45 |
$(DOCBOOK2XMAN) $< |
$(DOCBOOK2XMAN) $< |
46 |
46 |
|
|
|
47 |
|
parallel.1: parallel.docbook |
|
48 |
|
$(DOCBOOK2XMAN) $< |
|
49 |
|
|
47 |
50 |
%.1: % |
%.1: % |
48 |
51 |
pod2man --center=" " --release="moreutils" $< > $@; |
pod2man --center=" " --release="moreutils" $< > $@; |
File README changed (mode: 100644) (index ccc257c..0e42f6e) |
... |
... |
lckdo |
13 |
13 |
execute a program with a lock held |
execute a program with a lock held |
14 |
14 |
mispipe |
mispipe |
15 |
15 |
pipe two commands, returning the exit status of the first |
pipe two commands, returning the exit status of the first |
|
16 |
|
parallel |
|
17 |
|
run multiple jobs at once |
16 |
18 |
pee |
pee |
17 |
19 |
tee standard input to pipes |
tee standard input to pipes |
18 |
20 |
sponge |
sponge |
File debian/changelog changed (mode: 100644) (index 896c260..bcdebf4) |
|
1 |
|
moreutils (0.36) UNRELEASED; urgency=low |
|
2 |
|
|
|
3 |
|
* parallel: New program, contributed by Tollef Fog Heen, |
|
4 |
|
that can run multiple jobs in parallel, optionally checking |
|
5 |
|
load average. |
|
6 |
|
|
|
7 |
|
-- Joey Hess <joeyh@debian.org> Thu, 02 Jul 2009 14:57:12 -0400 |
|
8 |
|
|
1 |
9 |
moreutils (0.35) unstable; urgency=low |
moreutils (0.35) unstable; urgency=low |
2 |
10 |
|
|
3 |
11 |
* ifdata: Don't assume that all interface names are 6 characters or less, |
* ifdata: Don't assume that all interface names are 6 characters or less, |
File debian/control changed (mode: 100644) (index 7c3e652..2dbf2b2) |
... |
... |
Description: additional unix utilities |
30 |
30 |
- mispipe: pipe two commands, returning the exit status of the first |
- mispipe: pipe two commands, returning the exit status of the first |
31 |
31 |
- isutf8: check if a file or standard input is utf-8 |
- isutf8: check if a file or standard input is utf-8 |
32 |
32 |
- lckdo: execute a program with a lock held |
- lckdo: execute a program with a lock held |
|
33 |
|
- parallel: run multiple jobs at once |
File debian/copyright changed (mode: 100644) (index c689a57..ebe3ee7) |
... |
... |
Files: ifne.c, ifne.docbook |
39 |
39 |
Copyright: 2008 Javier Merino |
Copyright: 2008 Javier Merino |
40 |
40 |
License: GPL-2+ |
License: GPL-2+ |
41 |
41 |
|
|
|
42 |
|
Files: parallel.c |
|
43 |
|
Copyright: 2008 Tollef Fog Heen <tfheen@err.no> |
|
44 |
|
License: GPL-2 |
|
45 |
|
|
42 |
46 |
Files: physmem.c |
Files: physmem.c |
43 |
47 |
Copyright: 2000, 2001, 2003, 2005, 2006 Free Software Foundation, Inc. |
Copyright: 2000, 2001, 2003, 2005, 2006 Free Software Foundation, Inc. |
44 |
48 |
License: GPL-2+ |
License: GPL-2+ |
File parallel.docbook added (mode: 100644) (index 0000000..07d2bf3) |
|
1 |
|
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
|
|
|
3 |
|
<!-- |
|
4 |
|
|
|
5 |
|
Written by Joey Hess |
|
6 |
|
|
|
7 |
|
--> |
|
8 |
|
|
|
9 |
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" |
|
10 |
|
"file:///usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" |
|
11 |
|
[]> |
|
12 |
|
|
|
13 |
|
<refentry> |
|
14 |
|
<refentryinfo> |
|
15 |
|
<address> |
|
16 |
|
<email>joey@kitenet.net</email> |
|
17 |
|
</address> |
|
18 |
|
<author> |
|
19 |
|
<firstname>Joey</firstname> |
|
20 |
|
<surname>Hess</surname> |
|
21 |
|
</author> |
|
22 |
|
<date>2009-07-02</date> |
|
23 |
|
</refentryinfo> |
|
24 |
|
|
|
25 |
|
<refmeta> |
|
26 |
|
<refentrytitle>parallel</refentrytitle> |
|
27 |
|
<manvolnum>1</manvolnum> |
|
28 |
|
</refmeta> |
|
29 |
|
|
|
30 |
|
<refnamediv> |
|
31 |
|
<refname>parallel</refname> |
|
32 |
|
<refpurpose>run programs in parallel</refpurpose> |
|
33 |
|
</refnamediv> |
|
34 |
|
|
|
35 |
|
<refsynopsisdiv> |
|
36 |
|
<cmdsynopsis> |
|
37 |
|
<command>parallel</command> |
|
38 |
|
<arg>options</arg> |
|
39 |
|
<arg>command</arg> |
|
40 |
|
<arg>--</arg> |
|
41 |
|
<arg>arguments</arg> |
|
42 |
|
</cmdsynopsis> |
|
43 |
|
</refsynopsisdiv> |
|
44 |
|
|
|
45 |
|
<refsect1> |
|
46 |
|
<title>DESCRIPTION</title> |
|
47 |
|
|
|
48 |
|
<para><command>parallel</command> runs the specified command, |
|
49 |
|
passing it a single one of the specified arguments. This is |
|
50 |
|
repeated for each argument. The default is to run all |
|
51 |
|
the commands at the same time.</para> |
|
52 |
|
|
|
53 |
|
</refsect1> |
|
54 |
|
|
|
55 |
|
<refsect1> |
|
56 |
|
<title>OPTIONS</title> |
|
57 |
|
|
|
58 |
|
<variablelist> |
|
59 |
|
|
|
60 |
|
<varlistentry> |
|
61 |
|
<term><option>-j maxjobs</option></term> |
|
62 |
|
<listitem> |
|
63 |
|
<para>Use to limit the number of jobs |
|
64 |
|
that are run at the same time.</para> |
|
65 |
|
</listitem> |
|
66 |
|
</varlistentry> |
|
67 |
|
|
|
68 |
|
<varlistentry> |
|
69 |
|
<term><option>-l maxload</option></term> |
|
70 |
|
<listitem> |
|
71 |
|
<para>Avoid starting new jobs when |
|
72 |
|
the system's load average is higher |
|
73 |
|
than the specified limit.</para> |
|
74 |
|
</listitem> |
|
75 |
|
</varlistentry> |
|
76 |
|
|
|
77 |
|
<varlistentry> |
|
78 |
|
<term><option>-i</option></term> |
|
79 |
|
<listitem> |
|
80 |
|
<para>Normally the command is passed the |
|
81 |
|
argument at the end of its command line. With |
|
82 |
|
this option, the first instance of "{}" in |
|
83 |
|
the command is replaced with the argument.</para> |
|
84 |
|
</listitem> |
|
85 |
|
</varlistentry> |
|
86 |
|
|
|
87 |
|
</variablelist> |
|
88 |
|
|
|
89 |
|
</refsect1> |
|
90 |
|
|
|
91 |
|
<refsect1> |
|
92 |
|
<title>EXAMPLE</title> |
|
93 |
|
|
|
94 |
|
<para> |
|
95 |
|
<cmdsynopsis> |
|
96 |
|
<command>parallel -j 3 ufraw -o processed -- *.NEF</command> |
|
97 |
|
</cmdsynopsis> |
|
98 |
|
</para> |
|
99 |
|
|
|
100 |
|
<para>This runs three ufraw processes at the same time until |
|
101 |
|
all of the NEF files have been processed. |
|
102 |
|
</para> |
|
103 |
|
|
|
104 |
|
</refsect1> |
|
105 |
|
|
|
106 |
|
<refsect1> |
|
107 |
|
<title>EXIT STATUS</title> |
|
108 |
|
|
|
109 |
|
|
|
110 |
|
<para>Its exit status is the combination of the exit statuses of each |
|
111 |
|
command ran, ORed together. (Thus, if any one command |
|
112 |
|
exists nonzero, <command>parallel</command> as a whole will exit nonzero.)</para> |
|
113 |
|
|
|
114 |
|
</refsect1> |
|
115 |
|
|
|
116 |
|
</refentry> |