pstack usage on Solaris 9

Hello everyone,

I have a 12-thread application running on Solaris 9.

When I use the pstack command after a typical 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/lwp or more 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 for application with process id 24452)

Thanx,
Greg

This syntax works on more recent Solaris releases but not on Solaris 9.