Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the configuration methods of VisualVM remote monitoring in JVM tuning

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail the configuration methods of VisualVM remote monitoring in JVM tuning. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Format version: http://note.youdao.com/share/?id=f2431e7ba724ba908b8a19c6b3997c29&type=note

Start the jstatd: jstatd-J-Djava.security.policy=jstatd.all.policylinux machine to verify success: success. Find visualVM in the jdk directory under windows to start: local monitoring: monitoring remote linx server: linux server ip address is 192.168.15.11OK. 3. Jmx RMI remote monitoring method to obtain java_home address: echo $JAVA_HOMEcd $JAVA_HOME/jre/lib/management

First, use the password.template file to create the jmxremote.password file, and set the corresponding read and write permissions. Vim jmxremote.password release comments:

Then add:-Djava.rmi.server.hostname=192.168.15.11-Dcom.sun.management.jmxremote.port=18999-Dcom.sun.management.jmxremote.ssl=false-Dcom.sun.management.jmxremote.authenticate=false to the java startup parameters, where 192.168.15.11 is the true IP address of the linux server itself. The parameters used in this experiment are:

This is the end of this article on "what are the configuration methods of VisualVM remote monitoring in JVM tuning". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report