Operating System - HP-UX
1833000 Members
2253 Online
110048 Solutions
New Discussion

how to view threads for a process

 
sys-sbd
Advisor

how to view threads for a process

Hi,
Is there any means on HPUX 11.11 to list all threads of a process ?
3 REPLIES 3
Wouter Jagers
Honored Contributor

Re: how to view threads for a process

If you have glance, fire it up and then press 'G' (capital g). It will prompt you for a PID and show you its threads.

Cheers
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Dennis Handly
Acclaimed Contributor

Re: how to view threads for a process

With gdb, you can attach to the process then use "info threads". To get stack traces for all threads: thread apply all bt
Reshma Malusare
Trusted Contributor

Re: how to view threads for a process