restart_YPT_AUTO_MONITOR.sh 237 Bytes
#!/bin/bash

ps -ef | grep "/opt/jmeter/shell/auto/yohoPerformanceTestAuto_Job.sh" | grep -v grep | cut -c 9-15 | xargs kill -9

if [ "$1" == "stop" ];then
exit
fi
/opt/jmeter/shell/auto/yohoPerformanceTestAuto_Job.sh 1>/dev/null 2>&1 &