-Xbootclasspath/p:/home/admin/software/jdk1.7.0_79/jre/lib/ext/emma.jarjava
複製 /server/bin/mobileserver/runServer.sh 到 runServer_emma.shweb
修改啓動語句ide
nohup java -Xmx1800M -Xms800m -Xbootclasspath/p:/home/q/java/emmalib/emma.jar -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider -XX:+AggressiveOpts -XX:+UseParallelGC -server -classpath "$jarFile" com.qunar.common.mobileArc.MobileServer conf/TaLog.property conf/TripServer.property >> $LOG_HOME/error.log 2>&1 &spa
複製 /server/bin/mobileserver/stopServer.sh 到 stopServer_emma.shorm
1.啓動emma: server
java emma instr -m overwrite -ip classes -Dmetadata.out.file=credit_coverage.emip
2.啓動tocmatget
3.收集結果it
java emma ctl -connect localhost:47653 -command coverage.get,credit_coverage.ecio
java emma ctl -connect localhost:26677 -command coverage.get,credit_coverage.ec
/home/admin/software/jdk1.7.0_79/jre/bin/java emma ctl -connect localhost:47653 -command coverage.get,/home/admin/webcmcc.ec
%JM_START% %JM_LAUNCH% -Xbootclasspath/p:E:\alibaba\tools\emma-stable-2.1-lib\emma.jar %
JVM_ARGS% %ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
nohup java -Xmx1800M -Xms800m -Xbootclasspath/p:/home/q/java/emmalib/emma.jar -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider -XX:+AggressiveOpts -XX:+UseParallelGC -server -classpath "$jarFile" com.qunar.common.mobileArc.MobileServer conf/TaLog.property conf/TripServer.property >> $LOG_HOME/error.log 2>&1 &
-Xbootclasspath/p:/home/admin/software/jdk1.7.0_79/jre/lib/ext/emma.jar