Changeset 1848
- Timestamp:
- 08/06/12 15:53:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/showPackProgress.sh
r1822 r1848 133 133 nbOfListsPacked=0 134 134 nbOfListsFailed=0 135 TotalNbInodes=0 136 TotalSimuTar=0 135 137 136 138 for CONFIG in $( awk '{print $1}' ${IGCM_DEM}/config_card.liste ) ; do … … 138 140 DEM_state=$( DEM_read_state ${IGCM_DEM}/config_card.liste ${CONFIG} ) 139 141 140 if [[ "${DEM_state}" != " WriteListTarDone" ]] ; then142 if [[ "${DEM_state}" != "TarDone" ]] ; then 141 143 142 144 simuName=$( getSimuName $CONFIG ) … … 169 171 do 170 172 listName=`echo $(basename $set) | sed 's;\.list$;;' | sed 's;\.nc$;;' ` 171 173 ListNbInode=`cat $set |wc -l` 174 TotalNbInodes=$(( $TotalNbInodes + $ListNbInode )) 172 175 statusfile=${set%%.list}.status 173 176 status=$( progressStatus $statusfile ) # gpdebug : a retablir … … 192 195 done 193 196 done 197 else 198 #si "${DEM_state}" == "TarDone" 199 200 simuName=$( getSimuName $CONFIG ) 201 echo "*******************************************" 202 echo "simulation : $simuName TAR" 203 echo "*******************************************" 204 TotalSimuTar=$(( $TotalSimuTar + 1 )) 194 205 fi 195 206 done 207 208 NbInodeBefore=`cat ${IGCM_DEM}/Listing.txt |wc -l` 209 find $IGCM_DEM -printf "%y %s %p \n" >> ${IGCM_DEM}/ListingEnd.txt 210 NbInodeAfter=`cat ${IGCM_DEM}/ListingEnd.txt |wc -l` 196 211 echo 197 212 echo "##################" … … 200 215 echo "nb of Lists packed with success : ${nbOfListsPacked} / ${totalNbOfList}" 201 216 echo "nb of fails : $nbOfListsFailed" 202 203 204 205 217 echo "nb of inodes packed : $TotalNbInodes" 218 echo "nb simul full tared : $TotalSimuTar" 219 echo "nb inode before : $NbInodeBefore" 220 echo "nb inode after : $NbInodeAfter" 221 222 223 224
Note: See TracChangeset
for help on using the changeset viewer.