-Xbootclasspath/p:/home/admin/software/jdk1.7.0_79/jre/lib/ext/emma.jar
成都创新互联公司-专业网站定制、快速模板网站建设、高性价比河津网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式河津网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖河津地区。费用合理售后完善,十年实体公司更值得信赖。复制 /server/bin/mobileserver/runServer.sh 到 runServer_emma.sh
修改启动语句
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 &
复制 /server/bin/mobileserver/stopServer.sh 到 stopServer_emma.sh
1.启动emma:
java emma instr -m overwrite -ip classes -Dmetadata.out.file=credit_coverage.em
2.启动tocmat
3.收集结果
java emma ctl -connect localhost:47653 -command coverage.get,credit_coverage.ec
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