Version Differences for Dumps From a Java Process

(Java 7)
(Moved picture rapeage to the bottom of the page)
Line 1:
- = Anthill Specific =      
- On versions 3.7.5+, you should be able to get an anthill-specific thread dump by navigating to System --> Server Settings --> Diagnostics --> View CPU Thread Usage.      
       
- <br/>      
       
- = JVisualVM =      
- If the JDK is installed (Java 6 or greater), one method for retrieving any type of dump can be done through [http://docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html JVisualVM]. '''JVisualVM''' is a GUI for analyzing Java processes, as well as getting detailed & intricate info on heaps, available threads, CPU usage, etc. To attempt to get any dumps from JVisualVM:      
       
- * Either through a command prompt, a terminal window, or the [http://en.wikipedia.org/wiki/Run_command Run window], fire up '''JVisualVM'''.      
- [[Image:jvisualvm1.png|center|320x320px|alt=JVisualVM Initial Screen|JVisualVM Initial Screen]]      
       
- * ''(OPTIONAL)'' Perform any calibration if needed.      
- * Locate the java process you wish to analyze      
- [[Image:jvisualvm2.png|center|320x320px|alt=JVisualVM Java Process Selected|JVisualVM Java Process Selected]]      
       
- * Click on Applications, and then select an appropriate dump      
- ** ''Heap Dump'' if generating a heap dump (appears in the temp directory)      
- ** ''Thread Dump'' if generating a thread dump (appears within '''JVisualVM''''s thread window)      
- [[Image:jvisualvm3.png|center|320x320px|alt=Which dump would you like|Which dump would you like to be taken]]      
       
- <br/>      
  = *nix =    = *nix = 
  This section lists methods to obtain dumps on *nix-based platforms    This section lists methods to obtain dumps on *nix-based platforms 
Line 223:
  * Using a 64-bit operating system and a 32-bit JVM    * Using a 64-bit operating system and a 32-bit JVM 
  ** Will cause '''jstack''' to fail with the message '''<font face="monospace">Monitoring is not supported for the selected JVM.</font>'''    ** Will cause '''jstack''' to fail with the message '''<font face="monospace">Monitoring is not supported for the selected JVM.</font>''' 
       
    + = Appendix C: Anthill Specific =  
    + On versions 3.7.5+, you should be able to get an anthill-specific thread dump by navigating to System --> Server Settings --> Diagnostics --> View CPU Thread Usage.  
       
    + <br/>  
       
    + = Appendix D: JVisualVM =  
    + If the JDK is installed (Java 6 or greater), one method for retrieving any type of dump can be done through [http://docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html JVisualVM]. '''JVisualVM''' is a GUI for analyzing Java processes, as well as getting detailed & intricate info on heaps, available threads, CPU usage, etc. To attempt to get any dumps from JVisualVM:  
       
    + * Either through a command prompt, a terminal window, or the [http://en.wikipedia.org/wiki/Run_command Run window], fire up '''JVisualVM'''.  
    + [[Image:jvisualvm1.png|center|320x320px|alt=JVisualVM Initial Screen|JVisualVM Initial Screen]]  
       
    + * ''(OPTIONAL)'' Perform any calibration if needed.  
    + * Locate the java process you wish to analyze  
    + [[Image:jvisualvm2.png|center|320x320px|alt=JVisualVM Java Process Selected|JVisualVM Java Process Selected]]  
       
    + * Click on Applications, and then select an appropriate dump  
    + ** ''Heap Dump'' if generating a heap dump (appears in the temp directory)  
    + ** ''Thread Dump'' if generating a thread dump (appears within '''JVisualVM''''s thread window)  
    + [[Image:jvisualvm3.png|center|320x320px|alt=Which dump would you like|Which dump would you like to be taken]]  
       
    + <br/>