Java Program performance analysis and monitoring using Java VISUALVM in Windows/linux environment

Source: Internet
Author: User
Tags visualvm

If the Java program consumes more resources and is unstable, it can use its own VISUALVM tool for monitoring and performance analysis, and can also generate snapshots for further analysis based on the application snapshot functionality it provides. The procedure is as follows:

1. Execute the "JVISUALVM" command under the CMD console or Linux terminal of Windows to enter the Java VISUALVM Workbench.

2. Double-click the left tree process menu to see how this process works. Also right-click on the application snapshot generation for offline further analysis. (How to know the Java program corresponding to the process ID, see this post: http://blog.csdn.net/johnnysun2015/article/details/45644703)



Other

If the Java program goes down, you need to collect the JVM memory dump file for further analysis, please refer to this blog post: http://blog.csdn.net/johnnysun2015/article/details/45310027



Java Program performance analysis and monitoring using Java VISUALVM in Windows/linux environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.