Index: trunk/tools/eam/rebalance/launch.find.sh
===================================================================
--- trunk/tools/eam/rebalance/launch.find.sh	(revision 42485)
+++ trunk/tools/eam/rebalance/launch.find.sh	(revision 42606)
@@ -1,22 +1,15 @@
 #!/bin/csh 
-
-set run = v0
-set version = 20230802
 
 # set mode to 'find' or 'find.test'
 set mode = find
+set mydir = /data/ipphome1.0/home/eugene/rebalance.20240129
 
-set srchost = (ipp100 ipp108 ipp112 ipp114)
-set srcvol  = (     0      0      1      0)
-set tgthost = (ipp161 ipp161 ipp162 ipp162)
-set tgtvol  = (     0      1      0      1)
-
-set mydir = /data/ipphome1.0/home/eugene/rebalance.20230802
-set fraction = 0.90
+source $mydir/configure.sh
+set program = `basename $0`
 
 if ($#argv == 0) then
-  echo "USAGE: launch.find.sh launch"
-  echo "USAGE: launch.find.sh find (Nentry)"
-  echo "   eg: launch.find.sh find 1"
+  echo "USAGE: $program launch"
+  echo "USAGE: $program run (Nentry)"
+  echo "   eg: $program run 1"
   exit 2
 endif
@@ -26,10 +19,6 @@
   set i = 1
   while ($i <= $#srchost)
-    echo ssh -f $srchost[$i] "cd $mydir && ./launch.find.sh find $i"
-         ssh -f $srchost[$i] "cd $mydir && ./launch.find.sh find $i"
-#   echo ssh $f ps ux
-#        ssh $f ps ux
-#        ssh $f killall mana
-#        ssh $f killall find
+    echo ssh -f $srchost[$i] "cd $mydir && ./$program run $i"
+         ssh -f $srchost[$i] "cd $mydir && ./$program run $i"
   @ i++
   end
@@ -37,8 +26,8 @@
 endif
 
-if ("$1" == "find") then
+if ("$1" == "run") then
   if ($#argv != 2) then
-    echo "USAGE: launch.find.sh find (Nentry)"
-    echo "   eg: launch.find.sh find 1"
+    echo "USAGE: $program run (Nentry)"
+    echo "   eg: $program run 1"
     exit 2
   endif
@@ -64,6 +53,6 @@
 endif
 
-echo "USAGE: launch.find.sh launch"
-echo "USAGE: launch.find.sh find (Nentry)"
-echo "   eg: launch.find.sh find 1"
+echo "USAGE: $program launch"
+echo "USAGE: $program run (Nentry)"
+echo "   eg: $program run 1"
 exit 2
