Changeset 42606 for trunk/tools/eam/rebalance/launch.find.sh
- Timestamp:
- Feb 5, 2024, 8:27:02 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/tools/eam/rebalance/launch.find.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rebalance/launch.find.sh
r42485 r42606 1 1 #!/bin/csh 2 3 set run = v04 set version = 202308025 2 6 3 # set mode to 'find' or 'find.test' 7 4 set mode = find 5 set mydir = /data/ipphome1.0/home/eugene/rebalance.20240129 8 6 9 set srchost = (ipp100 ipp108 ipp112 ipp114) 10 set srcvol = ( 0 0 1 0) 11 set tgthost = (ipp161 ipp161 ipp162 ipp162) 12 set tgtvol = ( 0 1 0 1) 13 14 set mydir = /data/ipphome1.0/home/eugene/rebalance.20230802 15 set fraction = 0.90 7 source $mydir/configure.sh 8 set program = `basename $0` 16 9 17 10 if ($#argv == 0) then 18 echo "USAGE: launch.find.shlaunch"19 echo "USAGE: launch.find.sh find(Nentry)"20 echo " eg: launch.find.sh find1"11 echo "USAGE: $program launch" 12 echo "USAGE: $program run (Nentry)" 13 echo " eg: $program run 1" 21 14 exit 2 22 15 endif … … 26 19 set i = 1 27 20 while ($i <= $#srchost) 28 echo ssh -f $srchost[$i] "cd $mydir && ./launch.find.sh find $i" 29 ssh -f $srchost[$i] "cd $mydir && ./launch.find.sh find $i" 30 # echo ssh $f ps ux 31 # ssh $f ps ux 32 # ssh $f killall mana 33 # ssh $f killall find 21 echo ssh -f $srchost[$i] "cd $mydir && ./$program run $i" 22 ssh -f $srchost[$i] "cd $mydir && ./$program run $i" 34 23 @ i++ 35 24 end … … 37 26 endif 38 27 39 if ("$1" == " find") then28 if ("$1" == "run") then 40 29 if ($#argv != 2) then 41 echo "USAGE: launch.find.sh find(Nentry)"42 echo " eg: launch.find.sh find1"30 echo "USAGE: $program run (Nentry)" 31 echo " eg: $program run 1" 43 32 exit 2 44 33 endif … … 64 53 endif 65 54 66 echo "USAGE: launch.find.shlaunch"67 echo "USAGE: launch.find.sh find(Nentry)"68 echo " eg: launch.find.sh find1"55 echo "USAGE: $program launch" 56 echo "USAGE: $program run (Nentry)" 57 echo " eg: $program run 1" 69 58 exit 2
Note:
See TracChangeset
for help on using the changeset viewer.
