我想这个问题/问题可以通过满足以下一个(或多个)问题来解决
1) 我如何显示剩余的工作?2)我如何漂亮的输出--eta
1) 我检查了手册页,目前在我的函数中使用 $PARALLEL_SEQ,但我怎样才能获得剩余的工作?Parallel 帮助我编译了大约 800 个文件,我想知道我剩下的工作。
2)或者,是否有更好(更好)的输出方式--eta
?我的输出看起来真的很乱。我只想看到一个 ETA。
我正在使用的并行标志:--no-notice --keep-order --group
输出示例:
819: Compiling form: USER_Q ok
ETA: 8s 13left 0.61avg local:4/819/100%/0.6s
820: Compiling form: USER_RESERVE_STOCK ok
ETA: 7s 12left 0.61avg local:4/820/100%/0.6s
821: Compiling form: USERS_AUTO ok
ETA: 7s 11left 0.61avg local:4/821/100%/0.6s
822: Compiling form: USERS ok
ETA: 6s 10left 0.61avg local:4/822/100%/0.6s
823: Compiling form: USERS_MENU ok
ETA: 6s 9left 0.61avg local:4/823/100%/0.6s
824: Compiling form: USER_SUPP ok
ETA: 4s 8left 0.61avg local:4/824/100%/0.6s
825: Compiling form: VARIANCE_L ok
ETA: 4s 7left 0.61avg local:4/825/100%/0.6s
826: Compiling form: VAR_L ok
ETA: 3s 6left 0.61avg local:4/826/100%/0.6s
827: Compiling form: WASTE ok
ETA: 3s 5left 0.61avg local:4/827/100%/0.6s
828: Compiling form: WASTE_L ok
ETA: 2s 2left 0.61avg local:2/830/100%/0.6s
829: Compiling form: WEATHER ok