Websphere 7 jconsole支持,但带有内存和线程(Websphere 7 jconsole support but with memory and threads)

编程入门 行业动态 更新时间:2024-10-27 20:30:14
Websphere 7 jconsole支持,但带有内存和线程(Websphere 7 jconsole support but with memory and threads)

我完成了这些步骤,并使用jconsole连接到IBM websphere,但内存变灰并禁用,我希望能够实时监控内存使用情况。 我看到了mbeans配置。 我基本上想要使用jconsole连接到本地websphere服务器并收集内存中的实时更改。 我看到这些标签变灰,但MBEANS部分可用。 我如何让内存显示?

set WAS_HOME=C:/Program Files (x86)/ibm/WebSphere/AppServer set JAVA_HOME=%WAS_HOME%/java echo %WAS_HOME% set CLASSPATH=%JAVA_HOME%/lib/jconsole.jar set CLASSPATH=%CLASSPATH%;%WAS_HOME%/runtimes/com.ibm.ws.admin.client_8.0.0.jar set CLASSPATH=%CLASSPATH%;%WAS_HOME%/runtimes/com.ibm.ws.ejb.thinclient_8.0.0.jar set CLASSPATH=%CLASSPATH%;%WAS_HOME%/runtimes/com.ibm.ws.orb_8.0.0.jar set HOST=localhost set PORT=9100 "%JAVA_HOME%/bin/jconsole" -J-Djava.class.path="%CLASSPATH%" ^ service:jmx:iiop://%HOST%:%PORT%/jndi/JMXConnector

你在这里看到任何安全问题吗? jmx连接iiop是否允许我查看内存数据?

I went through these steps and got jconsole to connect to IBM websphere but the memory is greyed out and disabled, I want to be able to monitor memory usage in real time. I see the mbeans configuration. I basically want to use jconsole to connect to a local websphere server and gather the real time changes in memory. I see those tabs greyed out but MBEANS section available. How do I get the memory to show?

set WAS_HOME=C:/Program Files (x86)/ibm/WebSphere/AppServer set JAVA_HOME=%WAS_HOME%/java echo %WAS_HOME% set CLASSPATH=%JAVA_HOME%/lib/jconsole.jar set CLASSPATH=%CLASSPATH%;%WAS_HOME%/runtimes/com.ibm.ws.admin.client_8.0.0.jar set CLASSPATH=%CLASSPATH%;%WAS_HOME%/runtimes/com.ibm.ws.ejb.thinclient_8.0.0.jar set CLASSPATH=%CLASSPATH%;%WAS_HOME%/runtimes/com.ibm.ws.orb_8.0.0.jar set HOST=localhost set PORT=9100 "%JAVA_HOME%/bin/jconsole" -J-Djava.class.path="%CLASSPATH%" ^ service:jmx:iiop://%HOST%:%PORT%/jndi/JMXConnector

Do you see any security issues here? Will the jmx connection iiop allow me to see the memory data?

最满意答案

要监视IBM JVM的基本参数,您可以使用IBM Health Center而不是jConsole。 它可以作为IBM Support Assistant的附件或Eclipse插件(来自Eclipse Marketplace)进行安装。

根据您的Java版本和路径级别,您需要通过通用JVM设置启用它:

对于Java版本7和更高版本,版本6服务更新5和更高版本以及版本5服务更新10和更高版本使用-Xhealthcenter 对于版本6服务刷新1到4,版本5服务刷新8和9 - 使用-agentlib:healthcenter -Xtrace:output=perfmon.out

在这里查看详细信息。

To monitor basic parameters of the IBM JVM you can could use IBM Health Center instead of jConsole. It can be installed either as a add on to IBM Support Assistant, or as plugin to Eclipse (from Eclipse Marketplace).

Depending on your Java version and path level you would need to enable it via generic JVM settings:

For Java Version 7 and later, Version 6 service refresh 5 and later, and Version 5 service refresh 10 and later use -Xhealthcenter For Version 6 service refreshes 1 through 4, and Version 5 service refreshes 8 and 9 - use -agentlib:healthcenter -Xtrace:output=perfmon.out

Check the details here.

更多推荐

本文发布于:2023-07-08 19:22:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1079992.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:线程   内存   jconsole   Websphere   memory

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!