restart_YPT_AUTO_MONITOR.sh 242 Bytes
#!/bin/bash

basepath=$(cd `dirname $0`; pwd)

ps -ef | grep "yohoPerformanceTestAuto_Job.sh" | grep -v grep | cut -c 9-15 | xargs kill -9

if [ "$1" == "stop" ];then
exit
fi
${basepath}/auto/yohoPerformanceTestAuto_Job.sh 1>/dev/null 2>&1 &