Changeset 1885 for TOOLS/PACK_IPSL/showPackProgress.sh
- Timestamp:
- 09/17/12 15:29:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/showPackProgress.sh
r1876 r1885 225 225 226 226 listName=`echo $(basename $set) | sed 's;\.list$;;' | sed 's;\.nc$;;' ` 227 ListNbInode=`cat $set | wc -l`228 TotalNbInodes=$(( $TotalNbInodes + $ListNbInode ))227 ListNbInode=`cat $set | wc -l` 228 # TotalNbInodes=$(( $TotalNbInodes + $ListNbInode )) 229 229 statusfile=${set%%.list}.status 230 230 status=$( progressStatus $statusfile ) # gpdebug : a retablir … … 351 351 nbOfListsFailed=0 352 352 nbOfListsNottreated=0 353 TotalNbInodes=0353 #TotalNbInodes=0 354 354 TotalSimuTar=0 355 355 totalTime=0 … … 476 476 find $OUTPUT_WORK -printf "%y %s %p \n" >> ${IGCM_DEM}/ListingEnd.txt 477 477 fi 478 NbInodeAfter=`cat ${IGCM_DEM}/ListingEnd.txt |wc -l` 478 479 if [ -e ${IGCM_DEM}/ListingEnd.txt ] 480 then 481 NbInodeAfter=`cat ${IGCM_DEM}/ListingEnd.txt |wc -l` 482 fi 479 483 480 484 if [ "x${outputFile}" == "x" ] … … 490 494 echo "nb of fails : $nbOfListsFailed" 491 495 echo "nb of not treated : ${nbOfListsNottreated}" 492 echo "nb of inodes packed : $TotalNbInodes"496 # echo "nb of inodes packed : $TotalNbInodes" 493 497 echo "nb simul full tared : $TotalSimuTar" 494 498 echo "nb inode before : $NbInodeBefore" … … 510 514 echo "nb of fails : $nbOfListsFailed" >> ${outputFile} 511 515 echo "nb of not treated : ${nbOfListsNottreated}" >> ${outputFile} 512 echo "nb of inodes packed : $TotalNbInodes" >> ${outputFile}516 # echo "nb of inodes packed : $TotalNbInodes" >> ${outputFile} 513 517 echo "nb simul full tared : $TotalSimuTar" >> ${outputFile} 514 518 echo "nb inode before : $NbInodeBefore" >> ${outputFile} … … 518 522 else 519 523 # Publication 520 echo "User;TotalNbSimu;NbOfSimuPacked;NbOfSimuFailed;NbOfSimuNottreated;TotalNbOfList;NbOfListsPacked;NbOfListsFailed;NbOfListsNottreated;TotalNbFiles;Nbfiles treated;Nbfilesafter;NbSimuTar" > ${outputFile}521 echo "${USER};${TotalNbSimu};${nbOfSimuPacked};${nbOfSimuFailed};${nbOfSimuNottreated};${totalNbOfList};${nbOfListsPacked};$nbOfListsFailed;${nbOfListsNottreated};$ TotalNbInodes;$NbInodeBefore;$NbInodeAfter;$TotalSimuTar" >> ${outputFile}524 echo "User;TotalNbSimu;NbOfSimuPacked;NbOfSimuFailed;NbOfSimuNottreated;TotalNbOfList;NbOfListsPacked;NbOfListsFailed;NbOfListsNottreated;TotalNbFiles;Nbfilesafter;NbSimuTar" > ${outputFile} 525 echo "${USER};${TotalNbSimu};${nbOfSimuPacked};${nbOfSimuFailed};${nbOfSimuNottreated};${totalNbOfList};${nbOfListsPacked};$nbOfListsFailed;${nbOfListsNottreated};$NbInodeBefore;$NbInodeAfter;$TotalSimuTar" >> ${outputFile} 522 526 fi 523 527 fi
Note: See TracChangeset
for help on using the changeset viewer.