Changeset 7024 for trunk/MagicSoft/Mars/datacenter/scripts/runstar
- Timestamp:
- 05/13/05 11:49:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7019 r7024 107 107 lines=`cat $todofile.txt | wc -l` 108 108 echo "number of lines: "$lines >> $scriptlog 2>&1 109 while (( "$lines" < "$pno" )) 110 do 111 echo "# of lines ($lines) < # of processes ($pno) " 112 pno=`expr $pno / 2` 113 done 114 echo "pno: "$pno 109 115 nofiles=`expr $lines / \( $pno - 1 \)` 110 116 echo "number of files: "$nofiles >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.