[SLL] multi-threading

Paul A. Franz, P.E. paul at eucleides.com
Sun Sep 21 16:01:21 PDT 2008


I have a script that I'd like to speed up. The problem is that it queries several
hundred different hosts sequentially waiting for the response. I would like to launch
these requests in batches of say 6, or multiples of 6 all at once. I don't need the
results of one query in order to do the next one.

Is there some simple way to launch multiple processes from within a bash script?


-- 
Paul A. Franz, P.E.
PAF Consulting Engineers
Office 425.440.9505
Cell 425.241.1618


More information about the linux-list mailing list