GNU Parallel - --joblog only logging last job

2019-07-09 00:32发布

this is a followup from GNU Parallel - which job failed?

I'm asking parallel to output its status to a logfile test.log, but it's consistently only logging the last job it tried to run.

weedom@host1: ~/$ parallel --tag --nonall  -j8 --joblog test.log -S host1,host2 uptime 
host2   10:41:17 up 36 days, 20:45,  1 user,  load average: 0.00, 0.00, 0.00
host1         10:41:17 up 22:34,  3 users,  load average: 0.06, 0.11, 0.04
weedom@host1: ~/$ cat test.log
Seq     Host    Starttime       Runtime Send    Receive Exitval Signal  Command
1       host1        1403689277.067  0.519999980926514       0       0       0
weedom@host1: ~/$

this is with "GNU parallel 20130522"

1条回答
叛逆
2楼-- · 2019-07-09 00:39

You experience a bug that was fixed in version 20130922.

查看更多
登录 后发表回答