Search Results

Search: Posts Made By: tange
8,512
Posted By tange
If you have GNU Parallel GNU Parallel - GNU...
If you have GNU Parallel GNU Parallel - GNU Project - Free Software Foundation (http://www.gnu.org/software/parallel/) installed you can do this:
parallel '{} >{.}.out' ::: sample*.shor:
seq 4 |...
12,987
Posted By tange
For best performance it is important that the...
For best performance it is important that the data is not written back to disk. So it is a goal to get everything done in RAM.

cat testfile | parallel --pipe --block 10M 'sort | uniq -c' | perl...
6,076
Posted By tange
To do it in parallel install GNU Parallel: find...
To do it in parallel install GNU Parallel:
find . -type f -name "execute_command.sh" | parallel
Watch the intro video to learn more: Part 1: GNU Parallel script processing and execution - YouTube...
8,468
Posted By tange
If you cannot accept that a few lines will be...
If you cannot accept that a few lines will be mixed together then you need to avoid race conditions like:
mkfifo fifo
(echo program1_line1; sleep 2; echo program1_line2) >fifo &
(echo...
7,823
Posted By tange
This is probably what you are looking for: ...
This is probably what you are looking for:

parallel -j0 mv {} {.} ::: *.xml.dat
parallel -j0 echo {} -\\\> {.}\;mv {} {.} ::: *.xml.dat
6,504
Posted By tange
GNU Parallel makes it often easy to generate...
GNU Parallel makes it often easy to generate command lines:
parallel "echo {}; cut -f5 {} | sort -k1.3n | uniq | wc -l" ::: *.rod
It will also run the jobs in parallel. If you jobs are...
5,244
Posted By tange
GNU Parallel...
GNU Parallel (http://www.gnu.org/software/parallel/) is your friend:

cat syslogs | nawk '/From/ { print $3 }' | uniq | parallel "grep {} syslogs >> {}"

This even does the grepping in parallel,...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 05:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy