[CentOS] pstack

Wed Jul 16 09:54:46 UTC 2014
Joerg Schilling <Joerg.Schilling at fokus.fraunhofer.de>

Eero Volotinen <eero.volotinen at iki.fi> wrote:

> 2014-07-15 21:55 GMT+03:00 Clovis Tristao <clovis at agr.unicamp.br>:
>
> > Hi,
> >
> > How to install pstack in CentOS 6.5? Which repository or package it is
> > part?
> > Thanks a lot,
> > <http://lists.centos.org/mailman/listinfo/centos>
>
>
>
> gdb

pstack is a Solaris command from the p-tools group. It works nicely even when 
the binary is stripped. You cannot replace it by something as limited as gdb 
that needs a binary compiled with -g in order to print a useful stacktrace 
with function parameters.

See: 
https://sourceforge.net/p/schillix-on/schillix-on/ci/default/tree/usr/src/cmd/ptools/

You may be able to compile it in case that Linux includes sufficient ELF 
support and procfs-2.


Jörg

-- 
 EMail:joerg at schily.net                    (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'