(→Appendix D: JVisualVM)
|
(Condensed into table w/thumbnails)
|
Line 118: | |||
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: | 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: | ||
- | <table border=2 cellspacing=2 cellpadding=2> | + | <table border=2 cellspacing=2 cellpadding=2 align=center> |
<tr><th>#</th><th>STEP</th><th>SCREENSHOT</th></tr> | <tr><th>#</th><th>STEP</th><th>SCREENSHOT</th></tr> | ||
- | <tr><td>1</td><td>Either through a command prompt, a terminal window, or the [http://en.wikipedia.org/wiki/Run_command Run window], fire up '''JVisualVM'''.</td><td>[[Image:jvisualvm1.png|center|320x320px|alt=JVisualVM Initial Screen|JVisualVM Initial Screen]]</td></tr> | + | <tr><td>1</td><td>Either through a command prompt, a terminal window, or the [http://en.wikipedia.org/wiki/Run_command Run window], fire up '''JVisualVM'''.</td><td>[[Image:jvisualvm1.png|thumb|center|96px|alt=JVisualVM Initial Screen|JVisualVM Initial Screen]]</td></tr> |
<tr><td>2</td><td>''(OPTIONAL)'' Perform any calibration if needed.</td></tr> | <tr><td>2</td><td>''(OPTIONAL)'' Perform any calibration if needed.</td></tr> | ||
- | <tr><td>3</td><td>Locate the java process you wish to analyze</td><td>[[Image:jvisualvm2.png|center|320x320px|alt=JVisualVM Java Process Selected|JVisualVM Java Process Selected]]</td></tr> | + | <tr><td>3</td><td>Locate the java process you wish to analyze</td><td>[[Image:jvisualvm2.png|thumb|center|96px|alt=JVisualVM Java Process Selected|JVisualVM Java Process Selected]]</td></tr> |
- | <tr><td rowspan=3>4</td><td>Click on Applications, and then select an appropriate dump</td><td rowspan=3>[[Image:jvisualvm3.png|center|320x320px|alt=Which dump would you like|Which dump would you like to be taken]]</td></tr> | + | <tr><td rowspan=3>4</td><td>Click on Applications, and then select an appropriate dump</td><td rowspan=3>[[Image:jvisualvm3.png|thumb|center|96px|alt=Which dump would you like|Which dump would you like to be taken]]</td></tr> |
<tr><td>''Heap Dump'' if generating a heap dump (appears in the temp directory)</td></tr> | <tr><td>''Heap Dump'' if generating a heap dump (appears in the temp directory)</td></tr> | ||
<tr><td>''Thread Dump'' if generating a thread dump (appears within '''JVisualVM''''s thread window)</td></tr> | <tr><td>''Thread Dump'' if generating a thread dump (appears within '''JVisualVM''''s thread window)</td></tr> |