64-bit pstack utility for Linux

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
Saadi
Lance Naik
Posts: 33
Joined: Thu Mar 06, 2003 11:06 pm
Location: Chicago, Il - USA

64-bit pstack utility for Linux

Post by Saadi »

Does anyone know the availibility of pstack 64-bit version that can run on a 64-bit Linux OS, esp. Redhat?

Thanks.
Aziz Khawaja
Chicago, Il.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Aziz,
Salam,

pstack currently works only on Linux, only on an x86 machine running 32 bit ELF binaries (64 bit not supported). Also, for symbolic information, 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.)

Best Regards.
Farrukh Ahmed
Post Reply