On 07/10/2008, Z W <[EMAIL PROTECTED]> wrote: > In jmeter.sh > ========= > JAVA_HOME="C:\apps\java\jdk1.5.0_07" > JAVA_EXEC=$JAVA_HOME/jre/bin/java > JMETER_HOME="C:\apps\jakarta-jmeter-2.3\jakarta-jmeter-2.3.1" > JMX_SCRIPTS=$JMETER_HOME/bin > JMX_SCRIPT_TESTFILE=test.jmx > JMX_SCRIPT_JTLFILE=test.jtl > JMX_SCRIPT_LOGFILE=test.log > > nohup $JAVA_EXEC $ARGS -jar $JMETER_HOME/bin/ApacheJMeter.jar -n -t > $JMX_SCRIPTS/$JMX_SCRIPT_TESTFILE -l $JMX_SCRIPTS/$JMX_SCRIPT_JTLFILE > >> $JMX_SCRIPTS/$JMX_SCRIPT_LOGFILE & > > ================================================================== > > When I kick off the run with jmeter.sh, after the run is complete, on > cygwin/windows box (where Jmeter is run), > the process is still there. I have to manually kill the process myself > to terminate the process. > > $ ps -efW | grep java > qa 14132 1 ? 21:46:06 > /cygdrive/c/apps/java/jdk1.5.0_07/jre/bin/java > 0 14232 0 ? 21:46:07 > C:\apps\java\jdk1.5.0_07\jre\bin\java.exe > > > What am I doing wrong ? >
1) Why are you using Cygwin? 2) Why are you running JMeter as a background task? Try removing the nohup and the &. > > > On Tue, Oct 7, 2008 at 5:54 AM, sebb <[EMAIL PROTECTED]> wrote: > > On 06/10/2008, Z W <[EMAIL PROTECTED]> wrote: > >> Hi > >> > >> I'm running a Jmeter process but when the test run completes, it's > >> still running. This is checked with ps -ef | grep java > >> Is there a way to run with Jmeter command line such that when the test > >> run is completed, the Jmeter process would just go away. > > > > JMeter non-GUI will stop at the end of a test run. > > > >> I remember on linux platform, that was the behaviour. But I'm running > >> Jmeter with cygwin on Windows XP and Server 2003 boxes. > > > > Why? Just run JMeter in a DOS box. > > > >> Any suggestion is appreciated. > >> > >> Thanks > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

