Running shell script in parallel

后端 未结 8 2028
无人及你
无人及你 2020-11-30 19:35

I have a shell script which

  1. shuffles a large text file (6 million rows and 6 columns)
  2. sorts the file based the first column
  3. outputs 1000 fi
8条回答
  •  温柔的废话
    2020-11-30 20:05

    There is a simple, portable program that does just this for you: PPSS. PPSS automatically schedules jobs for you, by checking how many cores are available and launching another job every time another one just finished.

提交回复
热议问题