On Thu, Aug 4, 2011 at 11:28 PM, Darac Marjal <mailingl...@darac.org.uk> wrote: > On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote: >> Thanks for suggestions, >> >> Actually I got a job which contains several small jobs inside. >> >> if run the bash script, it will do those one by one and it is pretty >> slow, waiting ... >> >> I can run each small jobs separately, but use a bash script kind of >> easy to make some changes in amount and manage. >> >> I just wonder are there some simple way to do it? > > What you could try is converting your bash script to a makefile, you can > then let make do the work of parallelizing your jobs with "make -j 8 > -f yourmakefile".
Thanks, how to convert a bash script to a makefile? > > -- > Paul Saunders > -- Best Regards, lina -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cag9cjmkbjcb5btrzol-cwo-vzourm9xxkrafnafbnwm7p8o...@mail.gmail.com