일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- netflix oss
- WebLogic
- spring boot redis
- Redis Sentinel
- Selenium
- Airflow
- mybatis
- jmeter
- spring boot
- docker compose mysql
- QueryDSL
- weblogic 10
- cassandra
- vue.js
- coalesce
- Docker Compose
- ChannelPipeline
- docker-compose
- Spring Open Feign
- RabbitMQ
- docker
- Netty
- Hibernate
- spring cloud
- argo cd
- redis
- MySQL
- KAFKA
- JPA
- grafana
- Today
- Total
IT.FARMER
Remote Jconsole 및 Scoter agent 실행 방법 본문
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