Manual Pages for UNIX Darwin command on man jstack
MyWebUniversity

Manual Pages for UNIX Darwin command on man jstack

jstack(1) jstack(1)

NAME

jstack - stack trace

SYNOPSIS

jjssttaacckk [ option ] pid jjssttaacckk [ option ] executable core

jjssttaacckk [ option ] [server-id@]remote-hostname-or-IP

DESCRIPTION

jjssttaacckk 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 c++filt.

NNOOTTEE - This utility is unsupported and may or may not be available in

future versions of the J2SE SDK. jjssttaacckk iiss nnoott currently available on Windows platforms or on the Linux Itanium platform. PPAARRAAMMEETTEERRSS

Options are mutually exclusive. Option, if used, should follow immedi-

ately after the command name. ppiidd process id for which the stacktrace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps may be used. eexxeeccuuttaabbllee Java executable from which the core dump was produced. ccoorree core file for which the stack trace is to be printed.

rreemmoottee-hhoossttnnaammee-oorr-IIPP

remote debug server's (see jsadebugd) hostname or IP address.

sseerrvveerr-iidd optional unique id, if multiple debug servers are run-

ning on the same remote host. OOPPTTIIOONNSS

-mm prints mixed mode (both Java and native C/C++ frames)

stack trace.

-hh Prints a help message.

-hheellpp Prints a help message.

SEE ALSO

ppssttaacckk(1) cc++++ffiilltt(1) jjppss(1) jjssaaddeebbuuggdd(1)

KNOWN BUGS

Mixed mode stack trace, the -mm option, does not work with the remote

debug server.

13 June 2004 jstack(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™