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

Jvisualvm--JAVA performance Analysis tool

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

JAVA performance analysis tool that comes with JDK. It is already in your JDK bin directory, as long as you are using a later version of JDK1.6 Update7. Click on the jvisualvm.exe icon and it will run.

Here is VisualVM's official website: https://visualvm.dev.java.net, full of materials, as well as downloads of the latest version of VisualVM.

1. Installation

Just install JDK, run jvisualvm.exe, and select [tools]-- [plug-ins]-- [available plug-ins]

2Use 2.1. Remote machine settings

To retrieve data from a remote application, you need to run the jstatd utility on the remote JVM. That is, to do the following:

1) create a new file jstatd.all.policy in the bin directory of the jdk installation directory with the following contents:

Grant codebase "file:$ {java.home} /.. / lib/tools.jar" {

Permission java.security.AllPermission

}

2) create a new file jstatd.sh with the following contents:

. / jstatd-J-Djava.security.policy=jstatd.all.policy

3) start jstat: nohup jstatd.sh & (default startup port is 1099)

4) configure resin.conf and open the following comments:

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