Query: pstack
OS: redhat
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PSTACK(1) Linux Programmer's Manual PSTACK(1)NAMEpstack - print a stack trace of running processesSYNOPSISpstack pid [...]DESCRIPTIONpstack attaches to the active processes named by the pids on the command line, and prints out an execution stack trace, including a hint at what the function arguments are. If symbols exist in the binary (usually the case unless you have run strip(1)), then symbolic addresses are printed as well. If the process is part of a thread group, then pstack will print out a stack trace for each of the threads in the group.RESTRICTIONSpstack currently works only on Linux, only on an x86 machine running 32 bit ELF binaries (64 bit not supported). Also, for symbolic infor- mation, you need to use a GNU compiler to generate your program, and you can't strip symbols from the binaries. For thread information to be dumped, you have to use the debug-aware version of libpthread.so. (To check, run nm(1) on your pthreads library, and make sure that the symbol "__pthread_threads_debug" is defined.)SEE ALSOnm(1), ptrace(2)AUTHORSRoss Thompson <ross@whatsis.com> Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> Red Hat Linux Feb 25 2002 PSTACK(1)
Related Man Pages |
---|
pstack(1) - redhat |
pfiles(1) - sunos |
pldd(1) - sunos |
proc(1) - sunos |
pstack(1) - mojave |
Similar Topics in the Unix Linux Community |
---|
XP to Linux (Red Hat) |
Error Mismatched object file |
How to see HW status. |
Issues with AWK |
Server hung, is this a stack trace? |