Operating System - HP-UX
1845943 Members
4248 Online
110250 Solutions
New Discussion

How to view process threads stack trace

 
David Schumacher
Occasional Contributor

How to view process threads stack trace

Is there a utility available on HPUX 10.20 that can print the stack trace for each thread in a process (similar to /usr/proc/bin/pstack on Solaris)? I need to trouble shoot a problem where a multi-threaded process has become hung.
2 REPLIES 2
Paula J Frazer-Campbell
Honored Contributor

Re: How to view process threads stack trace

Hi

Glance might do what you require - if not installed then there is a 60 trial version on the instal CD.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Mike Stroyan
Honored Contributor

Re: How to view process threads stack trace

/opt/langtools/bin/puma can adopt a running process and gather stack traces for all threads. It is very different from a simple snapshot of stacks. It normally gathers a full history of stack traces at regular intervals for performance analysis.