pthreads run time information

Hello,

Can anybody please tell me how to get the time for which the thread has run in Solaris 5.7.

I am trying to read from /proc/pid/lwp/lwpsinfo. However, I am getting only the start time and not the run time.

I am using pthreads. Also, Is there a way to get the used stack size for the thread ?

Thanks and regards,
Murali