Atitit. Software Dashboards (2)--VM subsystem--Resource occupancy monitoring

Source: Internet
Author: User
Tags jconsole

Atitit. Software instrument panel (2)--VM Subsystem -- Resource Occupancy Monitoring

1. Jvisualvm.exe2. Jprofile

3. Heap//permgen Monitor

Author:: Old Wow's paw attilax Ayron, email:[email protected]

Reprint please indicate source: Http://blog.csdn.net/attilax

4. Thread

1.jps: View the currently executing Java process ( PS under linux ), show process number

2. Jinfo: Reference number jinfo-flagpermsize 2208 ( process number )

3. Jconsole 2208

JConsole

   JConsoleability to view graphicallyJVMchanges in memory,JConsoleis aJDK 5and the tool that comes with the version number above. is locatedJDKof thebinfolder, execute directly when executedJConsole.exeorjconsole.sh(requires support for graphical interfaces). In the localTabpage to see the execution of theJavaof thePID. Double-click to view the corresponding processJVMsituation. At the same time. JConsolealso supports viewing remoteJVMThe status of implementation, details can be seenJConsoleof theUser Guide.

  JConsole shows the JVM very much information in: memory, threads, classes, and MBean and so on. after you open the JConsole memory Tab page. You can see The execution status of the JVM memory section. This is more straightforward to analyze whether the memory has overflow and GC effect, andJConsole 's execution effect is 2 seen.

4. Jstack 2208 Lists all threads, and the execution status of the thread

5. Jstat-gcutil 2208 1000 (print information every 1000 milliseconds) 10 (print 10 lines)

6. Jmap All files executed in the virtual machine down, equivalent to the snapshot

7. Jmap is a tool that comes with the JDK to analyze the memory status of the JVM. Located under the Bin folder of the JDK.

Use Jmap to see the current memory status of each generation in the JVM, and the memory usage of objects in the JVM. and export the memory information in the entire JVM.

8.7. Jhat Jmap down the file analysis, multiple angles

 7. Eclipse Memory Analyzer

  Eclipse Memory Analyzer is a Eclipse provides one for analyzing JVM Heap Dump the plugin for the file. This plugin allows you to see the memory footprint of objects, referential relationships, analysis of memory leaks, and more.

   Eclipse Memory Analyzer(MAT) site is:http://www.eclipse.org/mat/. In theEclipseThis plugin can be directly installed remotely. Just because this plugin is in the analysis heapDumpfile is more memory-intensive, so it is best to firstEclipseof theJVMthe memory setting is a bit larger. MATAnalysisDumpobject after file occupies memory and reference relationship3what you see.

9.

References

Monitor JVM execution status with Java self -qileilove-blogjava.htm

(impt.  Detail)JVM Memory Health viewing methods and analysis tools -xu1314 's Column - Blog Channel -CSDN.NET.htm

Atitit. Software Dashboards (2)--VM subsystem--Resource occupancy monitoring

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.