Commit 36fb206e authored by Vincent Pelletier's avatar Vincent Pelletier

Add an usage example for parallel_parse.sh .

parent b2022ee0
...@@ -4,6 +4,12 @@ usage() { ...@@ -4,6 +4,12 @@ usage() {
echo " find [...] -print0 | $0 \\" echo " find [...] -print0 | $0 \\"
echo " parallelism state_dir out_file command [arg1 [...]]" echo " parallelism state_dir out_file command [arg1 [...]]"
echo "Reads filenames to process from stdin, null-delimited." echo "Reads filenames to process from stdin, null-delimited."
echo
echo "Example: parsing any number of log files with up to 4"
echo "processes in parallel with locally built pypy:"
echo " $ mkdir state"
echo " $ $0 4 state out.tml /usr/local/bin/pypy \\"
echo " bin/apachedex --period week"
} }
if [ $1 = '-h' -o $1 = '--help' ]; then if [ $1 = '-h' -o $1 = '--help' ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment