Operating System - HP-UX
1757940 Members
3083 Online
108866 Solutions
New Discussion

Watching threads in a HPUX 10.20 application

 
Clay Porter
Occasional Contributor

Watching threads in a HPUX 10.20 application

Hi,
There is a multithreaded application, running on HPUX 10.20.
This application has "hung". To debug this,I want to watch the stack of individual threads. How do I do it?
I know, 10.20 does not have kernel threads, so probably it is not going to be easy.
Tried generating a core (kill -11) and then analysing the same in DDE. The stack is always corrupted.

TIA
:-)abhi
1 REPLY 1
Berlene Herren
Honored Contributor

Re: Watching threads in a HPUX 10.20 application

I don't know if LSOF will help, but you can take a look. I attached the man page for it.
If you want to download it, you can find it at:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/

Berlene

http://www.mindspring.com/~bkherren/dobes/index.htm