Hello, Using one of Brendan''s dtrace script prusage and prstat, I was able to find the process that is consuming high cpu. I also have a test case that can trigger this high cpu usage. Questions are a) how do I proceed from here? b) how do I figure out which thread is using this high cpu? c) how do I figure out which piece of code is causing this problem? Thanks This message posted from opensolaris.org
thesus
2006-Feb-06 18:03 UTC
[dtrace-discuss] Re: find thread that is causing high cpu usage
I was able to answer my own question. Using prstat -L, I was able to figure out which lwp number was using high cpu. Ran pstack to get the stack trace of all threads. Looked at the stack trace of the lwp number that was causing high cpu. This message posted from opensolaris.org