pstack(1) hpux man page | unix.com

Man Page: pstack

Operating Environment: hpux

Section: 1

pstack(1)						      General Commands Manual							 pstack(1)

NAME
pstack - print a stack trace for each LWP in each process and core file
SYNOPSIS
DESCRIPTION
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. 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 executable.
RETURN VALUES
returns the following values: Successful completion. Failure. An error has occurred.
SEE ALSO
ldd(1), pldd(1). Itanium(R)-based Systems Only pstack(1)
Related Man Pages
pstack(1) - redhat
pcred(1) - sunos
prun(1) - sunos
pstack(1) - sunos
pstack(1) - mojave
Similar Topics in the Unix Linux Community
Renaming an executable file
Process information
analyse core file using pmap and pstack
Find path of executable having problem
Motif GUI example. UNIX executable ready.