Version Differences for Dumps From a Java Process

(*nix)
(Dump Table)
Line 1:
- = Dump Table =      
- <table border=2 cellspacing=2 cellpadding=2 align=center>      
- <tr>      
- <th>OS</th>      
- <th>Command</th>      
- <th>Arguments</th>      
- <th>Description</th>      
- <th>Version</th>      
- </tr>      
- <tr><td align=center rowspan=7>*nix</td><td align=center rowspan=1>'''jstack''' ''(Thread Dump)''</td><td><font face=monospace>-m process-id#</font></td><td>Prints mixed threads (Java & C++) on a specified process ID#</td><td align=center rowspan=4>5</td></tr>      
- <tr><td align=center rowspan=3>'''jmap''' ''(Heap Dump)''</td><td><font face=monospace>process-id#</font></td><td>Performs shared object mappings on the specified process ID#</td></tr>      
- <tr><td><font face=monospace>-heap process-id#</font></td><td>Performs a heap dump on the specified process ID#</td></tr>      
- <tr><td><font face=monospace>-histo process-id#</font></td><td>Prints the histogram for the specified process ID#</td></tr>      
- <tr><td align=center rowspan=2>'''jstack''' ''(Thread Dump)''</td><td><font face=monospace>-l process-id#</font></td><td>Prints long listing information (locks, synchronizers, etc.) on a specified process ID#</td><td align=center rowspan=3>6, 7</td></tr>      
- <tr><td><font face=monospace>-l -F process-id#</font></td><td>Force a stack dump when ''jstack'' isn't responding</td></tr>      
- <tr><td align=center rowspan=1>'''jmap''' ''(Heap Dump)''</td><td><font face=monospace>-dump:format=b,file=''filename'' process-id#</font></td><td>Dumps the memory map of the target process-ID# to an '''hprof file''' within the current directory (or specified directory if you expand upon ''filename'')</td></tr>      
- </table>      
- * '''jmap''' - This command will then dump a summary of the current memory map to the console. While not as sophisticated as the later versions of java, it still provides some rudimentary functionality.      
       
- * '''jstack''' - This command will then take a thread dump of the java process specified and dump it to the console. It will only provide both Java & C/C++ threads during the trace. You may want to consider redirecting this output to a file with the ''>'' modifier.      
  = *nix =    = *nix = 
  This section lists methods to obtain dumps on *nix-based platforms    This section lists methods to obtain dumps on *nix-based platforms