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) |
||
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 {{(}}{{)}} }} |
Revision as of 21:46, 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 {}