Introduction to Jconsole and jvisualvm tools

List of recent updates

1. Install jdk in IBM's aix (updated on July 21)
2. Install jdk in Linux (CentOS) (updated on July 21)
3. Install weblogic in Linux (CentOS) (updated on July 22)
4. Install webLogic in Aix system (Updated on July 22) 5.
Create a weblogic domain in IBM physical machine aix (updated on July 23 )
6. Create a weblogic domain through VNC in linux (updated on July 23)
7. Install Oracle 10g under RedHat 5 in detail (July 23 ) 24 update) 8. Linux starts oracle instance (July 24 update) 9. Create oracle instance and network monitoring through VNC in linux (July 25 update) 10. The method of closing ip6 in linux (July 25 update) 11. Jconsole , jvisualvm tool introduction 12. Soupui calls webservies help document 13. Loadrunner calls Webservice interface test optimization14. Loadrunner script reads XMl files 15. Remote Aix system using Xmanager 16. Xmanager graphical remote to aix system 17. Package common jar files The method of becoming an osgi bundle18. Code inspection specification Checkstyle configuration19. Webloigc 11g configuration cluster help document20. Activemq cluster configuration document













21. Apache2.2+tomcat6 cluster configuration
22. Modify the computer name to cause the oracle instance to fail to start the solution
23. Import the configuration required by the virtual machine with the oracle installer
24. Set the title for the tomcat and weblogic startup windows
25. Tomcat configuration Download server
26. Enable virtual machine hyper-v function under win8

27. windows, linux, aix query which program the port number is occupied by

28. Recursively change directory permissions under linux

29. Apache configuration virtual directory

 

Introduction to Jconsole and jvisualvm tools

1. Preliminary knowledge

 

 

This article describes how to view the exception information of the virtual machine used by weblogic through the jconsole.exe and jvisualvm.exe tools.

 

For more information, please refer to: "In-depth JAVA Virtual Machine - Zhou Zhiming" Chapter 4 Virtual Machine Performance Monitoring and Troubleshooting Tools.

 

Sa published to Weblogic11g reference (SA+Weblogic 11g platform cluster help documentation (Zhang Lin).docx)

 

1.1 This article environment

 

Ø Platform: Wind7

 

Ø Software: WebLogic Server 11g

 

Ø Software: SOAWARE 3.5 (test abnormally released items, optional)

 

Ø Software: jdk1.6

 

2 jconsole.exe, jvisualvm.exe tools

 

Only local monitoring is discussed here, and RMI needs to be configured for remote monitoring.

 

 

2.1 Tool Directory

 

Through jconsole and jvisualvm, it is more convenient to view the error information of the virtual machine, such as stack overflow StackOverflowError, memory overflow OutOfMemoryError and so on.

 

 

2.2 Introduction to the use of the jconsole tool

 

2.2.1 Run jconsole.exe,

 

Select the local process, you can observe all the virtual targets of this machine, I arbitrarily select the running weblogic.server to enter. Since my weblogic is a server and a cluster node, there are two weblogic.server

 

 

2.2.2 You can view, memory, thread, class, VM, Mbean through jconsole

 

 

 

 

 

 

 

2.3 Introduction to jvisualvm tool

 

If you enter the software if it prompts that the java application cannot be detected, modify the system environment variables. Both Aministrator and system variables need to modify temp and tmp.

 

temp=c:\windows\temp

 

tmp= c:\windows\temp

 

 

2.3.1 View Thread Dump Information

 

Select to enter the local (local) running process, right-click Thread Dump to view the thread details.

 

 

2.3.2 View Heap Dump Information

 

Select the running process and right-click Heap Dump to view the thread details.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326509529&siteId=291194637