Options are mutually exclusive. Option, if used, should follow immediately after the command name. See OPTIONS.
.LP
.RS3
.TP3
pid
process id for which the stack trace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used.
.RE
.LP
.RS3
.TP3
executable
Java executable from which the core dump was produced.
.br
.TP3
core
core file for which the stack trace is to be printed.
.br
.TP3
remote\-hostname\-or\-IP
remote debug server's (see jsadebugd(1)) hostname or IP address.
.br
.TP3
server\-id
optional unique id, if multiple debug servers are running on the same remote host.
.RE
.LP
.SH"DESCRIPTION"
.LP
.LP
\f3jstack\fP prints Java stack traces of Java threads for a given Java process or core file or a remote debug server. For each Java frame, the full class name, method name, 'bci' (byte code index) and line number, if available, are printed. With the \-m option, jstack prints both Java and native frames of all threads along with the 'pc' (program counter). For each native frame, the closest native symbol to 'pc', if available, is printed. C++ mangled names are not demangled. To demangle C++ names, the output of this command may be piped to \f3c++filt\fP. If the given process is running on a 64\-bit VM, you may need to specify the \f2\-J\-d64\fP option, e.g.:
.br
.LP
.nf
\f3
.fl
jstack \-J\-d64 \-m pid
.fl
\fP
.fi
.LP
.LP
\f3NOTE\fP\- This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' needs to be installed to have these tools working. Also, \f2PATH\fP environment variable should contain the location of \f2jvm.dll\fP used by the target process or the location from which the Crash Dump file was produced.
.LP
.LP
For example, \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP
.LP
.SH"OPTIONS"
.LP
.RS3
.TP3
\-F
Force a stack dump when 'jstack [\-l] pid' does not respond.
.TP3
\-l
Long listing. Prints additional information about locks such as list of owned java.util.concurrent