---
title: "Tomcat JMX 监控"
author: "rayoo"
date: "2015-06-29T11:59:45Z"
tags: []
categories: ["开源软件"]
slug: "tomcat-jmx"
draft: false
lastmod: "2015-06-29T12:48:49Z"
id: 2222797
url: "https://rayoo.iteye.com/blog/2222797"
---

1:

TOMCAT setenv.sh:

 

```
set JAVA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1011 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=tech
```

 

2:

jconsole:

service:jmx:rmi:///jndi/rmi://172.31.68.40:1011/jmxrmi

或

localhost:1011

 

jvisualvm