fstack — print a stack back-trace
fstack [
options
] {
pid
... |
core-file
[
core-executable
]
... }
fstack prints a stack back-trace of all
threads of the specified process or core-file.
-number-of-frames countLimit the back-trace to count
frames. The default is to limit the back-trace to 10
frames. Specify 0 or "all" to print all
frames.
-litePerform a light-weight stack backtrace containing only minimal information. Equivalent to -print -.
-richPerform a detailed stack back-trace that includes, where possible, inlined function calls, parameter names and values, and debug-names. Equivalent to -print inline,params,debug-names.
-print print-option,...
Specify the level of detail to include in a stack
back-trace. print-option can be
any of:
debug-names: use debug information, such as DWARF, to determine the name of functions
paths: include the full path to source files and libraries
inline: include in-line function in back-trace
locals: to include local variables from each frame
params: include the function parameters
To negate a print-option prefix
it with "-".
-exeThe full path of the executable to read.
-noexeDo not attempt to read the corresponding executable when loading a core file.
-sysroot directoryThe system root directory under which all executables, libraries, and source are located.
-debug class=level...Set internal debug-tracing of the specified
Java class
to level (level can be NONE,
INFO, WARNING, FINE, and FINEST). If
the level is absent, FINE is
assumed; if the class is absent,
the global level is set.