appname=temp
shpath=$(cd $(dirname $0);pwd)
cd $shpath
search_pid=`ps -ef|grep -v 'grep'|grep -v 'sh' |grep -c $appname`
echo "$appname: $search_pid"
if [ $search_pid -eq 0 ];then 
  ./run.sh
fi
