Hello all,
I have a 12-thread application running on Solaris 9.
When I use the pstack command after a core dump, it prints the stack output of all 12 threads/lwps. This is the standard procedure as it is described in the Solaris MAN pages.
Is there a way to filter out the pstack command so that it prints only the stack output of only one thread, or preferably, of the thread/lwp that crashes?
For example, the following does not work: pstack 24452/1 (attempt to selectively print the stack output of thread# 1)
Thanks,
Greg
I have a 12-thread application running on Solaris 9.
When I use the pstack command after a core dump, it prints the stack output of all 12 threads/lwps. This is the standard procedure as it is described in the Solaris MAN pages.
Is there a way to filter out the pstack command so that it prints only the stack output of only one thread, or preferably, of the thread/lwp that crashes?
For example, the following does not work: pstack 24452/1 (attempt to selectively print the stack output of thread# 1)
Thanks,
Greg