Honestly, I never really track things down to a particular thread, so I don't know if this will help...
ps xjf will show a tree of processes. But if the thread pid isn't matching the tid in the logs I don't know where else to look. maybe... ps -eLf or ps axms Sorry, but I figured an attempt to help would be better than "I know some of these words." Not much better, but better. :) Steve On Mon, Feb 25, 2013 at 12:05 PM, Campbell, Paul (Paul) <p...@avaya.com>wrote: > ** > > OK ARSystem Linux gurus out there, I am moving to RHEL6 from Solaris 9 and > on Solaris I could run a prstat -L -p <arserverd pid> and it would give me > the arserverd/<threadID> of the top cpu using thread, I could then look at > the arthread log and see which tid that thread would be in the filter/sql > log file to try and find out what that thread was doing. Now that we are > on RHEL Linux, we don’t have prstat, I have to use top and press <shift>H > to get the per thread cpu usage, but on Linux, each LWP has its own process > ID, so I can’t figure out how to tie a high running thread pid with the > thread tid in arthread log or filter/sql logs. I tried ps -C arserverd -m > -o pid,tid,pcpu, but the tid column showed me the process id from top. I > even looked at /proc/<pid>/status and it showed pid and tgid as the same > and nothing matched what I saw in the arthread.log. Ideas?**** > _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"