Version Differences for Dumps From a Java Process

(JVisualVM)
(jstack (Thread Dump))
Line 56:
  Using 'jstack', which is part of the Java 5 JDK, you can run:    Using 'jstack', which is part of the Java 5 JDK, you can run: 
       
- '''jstack -m process-id#'''   + '''jstack -l process-id#'''  
       
    + '''jstack -F -l process-id#''' (if the process is hung)  
       
  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.    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.