Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pstack usage on Solaris 9

Status
Not open for further replies.

gregb32

Programmer
Feb 18, 2008
1
0
0
GR
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top