#/bin/bash
####
SPATH="/var/yuqing_4.0/isearch"
DPATH="/data/repos/IGet/release/linux_64"
MID=`ps aux|grep monitor|grep -v grep|awk '{print $2}'`
SID=`ps aux|grep search|grep -v grep|awk '{print $2}'`
IP=`ifconfig|grep -Ev "(127.0.0.1|192.168.133.)"|awk -F: '/inet / {print $2}'|awk '{print $1}'|awk -F. '{print $4}'`
cd $SPATH
/bin/cp -f $DPATH/$2 ./bin/
c...