Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Emma coverage

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

-Xbootclasspath/p:/home/admin/software/jdk1.7.0_79/jre/lib/ext/emma.jar

Copy / server/bin/mobileserver/runServer.sh to runServer_emma.sh

Modify startup statement

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 &

Copy / server/bin/mobileserver/stopServer.sh to stopServer_emma.sh

1. Start emma:

Java emma instr-m overwrite-ip classes-Dmetadata.out.file=credit_coverage.em

two。 Start tocmat

3. Collect the results

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report