Ignore:
Timestamp:
09/09/13 15:55:29 (11 years ago)
Author:
Daniela Dorner
Message:
changed number of processes for pigz to be set from the general setup file on the fly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/ZipRawData.sh

    r17114 r17157  
    127127      printprocesslog "INFO zipping "$file" to "$zipfile" ..."
    128128      #echo "INFO zipping "$file" to "$zipfile" ..."
     129      # read setup again to allow for updates of variables defining transfer
    129130      source `dirname $0`/../Sourcefile.sh
    130131      # zip file to stdout and pipe it to outputfile
    131       echo "pv --rate-limit $limitpigz $file | pigz -1 -c -f -p 2 > $zipfiletmp" >> $logfile 2>&1
    132       pv --rate-limit $limitpigz $file | pigz -1 -c -f -p 2 > $zipfiletmp
     132      echo "pv --rate-limit $limitpigz $file | pigz -1 -c -f -p $numprocpigz > $zipfiletmp" >> $logfile 2>&1
     133      pv --rate-limit $limitpigz $file | pigz -1 -c -f -p $numprocpigz > $zipfiletmp
    133134      statuspigz=( `echo ${PIPESTATUS[@]}` )
    134135      printprocesslog "DEBUG PIPESTATUS:"${statuspigz[@]}
Note: See TracChangeset for help on using the changeset viewer.