pstack(1)pstack(1)NAMEpstack - print a stack trace for each LWP in each process and core file
SYNOPSISDESCRIPTION
prints a stack trace (hex+symbolic) for each LWP (Lightweight Process)
in each process and core file.
Given the pid of a running process or the full path of a core file,
prints the stack trace for each LWP thread in the process. To obtain
symbol information, searches load modules (executable and shared
libraries) in the current directory, and You can specify the executable
path with the pid/corepath, separated by a colon character. If cannot
find a load module, symbol information for frames in that module is not
displayed.
works by attaching to the running process and reading its registers,
memory, and stack. Mismatch between executable and corefile may result
in unpredictable behavior.
Options
supports the following option:
Prints the usage menu.
Prints the tool version information.
Operand
supports the following operand:
pid identifies a running process, with an optional execpath, the
full executable path.
corepath is the full path name of the specified exe‐
cutable.
RETURN VALUES
returns the following values:
Successful completion.
Failure.
An error has occurred.
SEE ALSOldd(1), pldd(1).
Itanium(R)-based Systems Only pstack(1)