---
title: "[jdk命令工具]jconsole远程项目监控"
author: "sblig"
date: "2014-07-10T10:37:23Z"
tags: []
categories: ["编程语言"]
slug: "jdk-jconsole"
draft: false
lastmod: "2014-07-10T10:37:23Z"
id: 2090241
url: "https://sblig.iteye.com/blog/2090241"
---

入口:catalina.sh
 
JAVA_OPTS="$JAVA_OPTS -server -Xms8192M -Xmx8192M -Djava.awt.headless=true -XX:PermSize=256M -XX:MaxPermSize=768M -Xloggc:gc.log -XX:+PrintGCDetails 
-Dcom.sun.management.jmxremote=true 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.port=29001 
-Dcom.sun.management.jmxremote.ssl=false
-XX:HeapDumpPath=../dumpfile.hprof -XX:+HeapDumpOnOutOfMemoryError"
 
 
远程地址:192.168.8.56:29001 (用户名,密码不需要填写)