Translations:GNU Parallel/11/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Keeping Track of Completed and Failed Commands, and Restart Capabilities== | ==Keeping Track of Completed and Failed Commands, and Restart Capabilities== | ||
You can tell | You can tell GNU Parallel to keep track of which commands have completed by using the <tt>--joblog JOBLOGFILE</tt> argument. The file JOBLOGFILE will contain the list of completed commands, their start times, durations, hosts, and exit values. For example, | ||
{{Command|ls *.txt {{!}} parallel --joblog gzip.log gzip {{(}}{{)}} }} | {{Command|ls *.txt {{!}} parallel --joblog gzip.log gzip {{(}}{{)}} }} |
Latest revision as of 21:56, 2 April 2020
Keeping Track of Completed and Failed Commands, and Restart Capabilities
You can tell GNU Parallel to keep track of which commands have completed by using the --joblog JOBLOGFILE argument. The file JOBLOGFILE will contain the list of completed commands, their start times, durations, hosts, and exit values. For example,
[name@server ~]$ ls *.txt | parallel --joblog gzip.log gzip {}