|
|
#!/bin/bash
|
|
|
|
|
|
ps -ef | grep "/opt/jmeter/shell/auto/yohoPerformanceTestAuto_Job.sh" | grep -v grep | cut -c 9-15 | xargs kill -9
|
|
|
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
|
|
|
/opt/jmeter/shell/auto/yohoPerformanceTestAuto_Job.sh 1>/dev/null 2>&1 & |
|
|
${basepath}/yohoPerformanceTestAuto_Job.sh 1>/dev/null 2>&1 & |
...
|
...
|
|