Changeset 9492 for trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
- Timestamp:
- 08/14/09 17:14:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r9489 r9492 274 274 function getstepinfo() 275 275 { 276 getdbsetup 276 277 table=`grep "$column:" $steps | sed -e "s/[.]$column://" -e 's/#//' -e 's/ //g'` 277 278 coltab=`grep "$column:" $steps | sed -e 's/://' -e 's/#//' -e 's/ //g'` 278 279 needs=`grep "$coltab[.]Needs:" $steps | sed -e "s/$coltab[.]Needs://"` 280 noderestricted=`grep "$coltab[.]NodeRestricted:" $steps | sed -e "s/$coltab[.]NodeRestricted://" -e 's/ //g'` 279 281 influences=`grep "$coltab[.]Influences:" $steps | sed -e "s/$coltab[.]Influences://"` 280 282 prims=( `grep "$table[.]Primary:" $steps | sed -e "s/$table[.]Primary://"` ) … … 282 284 # echo " needs: $needs" 283 285 # echo " influences: $influences" 286 # echo " noderestricted: $noderestricted" 284 287 # echo " prims: ${prims[@]}" 285 288 } … … 290 293 process= 291 294 printprocesslog "INFO getting todo..." 292 getdbsetup293 295 getstepinfo 294 296 # get query … … 340 342 { 341 343 numproc= 342 getdbsetup343 344 getstepinfo 344 345 # get query … … 366 367 continue 367 368 fi 369 if [ "$numproc" = "" ] 370 then 371 numproc=0 372 fi 368 373 } 369 374 … … 377 382 resetstatusvalues 378 383 evalstatus $@ 379 getdbsetup380 384 getstepinfo 381 385 # get query
Note:
See TracChangeset
for help on using the changeset viewer.