summaryrefslogtreecommitdiff
path: root/parallel.docbook
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-10 11:01:25 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-07-10 11:01:25 -0400
commit87bb3ae3ea452f7abba694be1840ee177d03c085 (patch)
tree93cc51f2dc97fadf5c1415272de4bf7c845f9343 /parallel.docbook
parentb5c8031c8f202c8140ee69c901c0e719a244aa77 (diff)
downloadmoreutils-87bb3ae3ea452f7abba694be1840ee177d03c085.tar.gz
update
Diffstat (limited to 'parallel.docbook')
-rw-r--r--parallel.docbook9
1 files changed, 6 insertions, 3 deletions
diff --git a/parallel.docbook b/parallel.docbook
index fccdfd8..9d5714c 100644
--- a/parallel.docbook
+++ b/parallel.docbook
@@ -93,12 +93,15 @@ Written by Joey Hess
<para>
<cmdsynopsis>
- <command>parallel ufraw -o processed -- *.NEF</command>
+ <command>parallel sh -c "echo hi; sleep 2; echo bye" -- 1 2 3</command>
</cmdsynopsis>
</para>
- <para>This runs one ufraw process per available CPU, until
- all of the NEF files have been processed.
+ <para>This runs three subshells that each print a message, delay,
+ and print another message. If yours system has multiple
+ CPUs, parallel will run some of the jobs in parallel,
+ which should be clear from the order the messages are
+ output.
</para>
<para>