Print a stack trace of running processes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Matteo Cypriani 150a89bb40 README.md: improve markup il y a 2 ans
man1 Initial commit (pstack v1.2) il y a 8 ans
.gitattributes Don't include .*ignore files in archives il y a 7 ans
.gitignore Add .gitignore file il y a 7 ans
COPYING Initial commit (pstack v1.2) il y a 8 ans
Makefile Makefile cleaning il y a 6 ans
README.md README.md: improve markup il y a 2 ans
VERSION New release: pstack 1.3.1 il y a 7 ans
changelog New release: pstack 1.3.1 il y a 7 ans
pstack.c Ignore VDSO object il y a 5 ans

README.md

pstack - print stack trace of running processes

pstack dumps a stack trace for a process, given the pid of that process. If the process named is part of a thread group, then all the threads inthe group are traced. See the man page for more information.

This program was inspired by the ‘pstack’ program available on Solaris.

Supported Platforms

This program runs on 32 bit x86 machines, using ELF binaries generated from GNU compilers. If threads are being used, it depends on a debuggable version of the pthreads library to find the threads in the thread group. If anyone wants to port this to other architectures, please let me know about questions you may have, or achievements you have made. I’d like to incorporate such changes into my version of the code.

Features

  • symbolic address dumping
  • thread group support

Build, install, uninstall

make
make install
make uninstall

Note: you must be root to [un]install. pstack will run fine from any directory, install just puts the binary and man page in ‘normal’ places (/usr/local/...)

USAGE:

pstack pid [...]

See the man page for more details.