Changeset 42452 for trunk/tools/eam/rawfix.20230221/src/rawfix.md5sum.pt
- Timestamp:
- Apr 21, 2023, 10:36:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/rawfix.md5sum.pt
r42451 r42452 12 12 $RAWFIX_MD5SUM_INIT = 1 13 13 end 14 15 $MAX_MD5HOST = 2 14 16 15 17 # select nights which are ready for md5sum calcs … … 97 99 # convert the stdout 'queue' to entries in a book 98 100 # fields in the table will become words in the page 99 queueprint stdout101 # queueprint stdout 100 102 queuesize stdout -var Nhosts 101 103 queue2book -raw-columns -key dateobs:md5host -uniq -setword pantaskState INIT stdout md5host.book 102 104 book setword md5sum.book $options:0 NHOST {$Nhosts - 1} 103 105 book setword md5sum.book $options:0 NDONE 0 104 book list105 book listbook md5sum.book106 # book list 107 # book listbook md5sum.book 106 108 # use the queuesize (Nhosts) to track how many jobs are done / to be done 107 109 end … … 166 168 $host:$USE_HOST = 0 167 169 end 168 if ( not($host:$USE_HOST))170 if ($host:$USE_HOST < $MAX_MD5HOST) 169 171 control host add $USE_HOST 170 $host:$USE_HOST = 1172 $host:$USE_HOST ++ 171 173 end 172 174
Note:
See TracChangeset
for help on using the changeset viewer.
