Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
apachedex
Commits
36fb206e
Commit
36fb206e
authored
May 24, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an usage example for parallel_parse.sh .
parent
b2022ee0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
parallel_parse.sh
parallel_parse.sh
+6
-0
No files found.
parallel_parse.sh
View file @
36fb206e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment