AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
#### 说在前面,一下方法只支持监控JVM,不支持WebSpere软件本身性能监控。 ------------ #### 监控WebSphere的JVM虚拟机 开启JMX监控端口 进入WebSphere Administrative Console open Servers → Server Types → WebSphere application servers → WAS_SERVER_NAME → Java and Process Management → Process definition → Java Virtual Machine. 在“Generic JVM arguments”增加下面环境变量: ```shell -Djavax.management.builder.initial= ``` 然后再进入 WebSphere Administrative Console, open Servers → Server Types → WebSphere application servers → WAS_SERVER_NAME → Java and Process Management → Process definition → Java Virtual Machine → Custom properties. ```shell 增加下面几个环境变量: Name: java.rmi.server.hostname Value: JMX_HOST Name: javax.management.builder.initial Value: none Name: com.sun.management.jmxremote Value: true Name: com.sun.management.jmxremote.port Value: JMX_PORT Name: com.sun.management.jmxremote.ssl Value: false Name: com.sun.management.jmxremote.authenticate Value: false ```