관리 메뉴

한글창제의 기쁨

Remote Jconsole 및 Scoter agent 실행 방법 본문

분류없음

Remote Jconsole 및 Scoter agent 실행 방법

timesurfer 공간지배자 2018.07.03 21:11

Remote Jconsole 및 Scoter agent 실행 방법


scocter agent 실행 

nohup java -javaagent:/home/mezzo/download/scouter/agent.java/scouter.agent.jar  \

-Dobj_name=AdServerMiddleware1 \

-Dcom.sun.management.jmxremote \

-Dcom.sun.management.jmxremote.port=9999 \

-Dcom.sun.management.jmxremote.ssl=false \

-Djava.rmi.server.hostname=210.221.235.202 \

-Dcom.sun.management.jmxremote.authenticate=false \

-jar /home/mezzo/download/AdApiServer.jar &


* scouter/agent.java/conf

### scouter java agent configruation sample

obj_name=AudienceServerTest01

net_collector_ip=127.0.0.1

net_collector_udp_port=6100

net_collector_tcp_port=6100

hook_method_patterns=com.mezzomedia.core.service.audience*.*, com.mezzomedia.core.service*.*,com.mezzomedia.server.handler*.*

hook_service_patterns=

_trace_auto_service_enabled=true


JMX - Jconsole Remote


-Dcom.sun.management.jmxremote

-Dcom.sun.management.jmxremote.port=<사용할포트>

-Dcom.sun.management.jmxremote.ssl=false

-Djava.rmi.server.hostname=<서버아이피>

-Dcom.sun.management.jmxremote.authenticate=false



java -Dcom.sun.management.jmxremote \

-Dcom.sun.management.jmxremote.port=9999 \

-Dcom.sun.management.jmxremote.ssl=false \

-Dcom.sun.management.jmxremote.authenticate=false \

-Djava.rmi.server.hostname=210.221.235.202 \

-jar /home/mezzo/download/AdApiServer.jar &


Jconsole guides

https://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html

0 Comments
댓글쓰기 폼