AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Getting stack trace with names and line numbers for all threads on AIX64

  • 1.  Getting stack trace with names and line numbers for all threads on AIX64

    Posted Wed March 04, 2009 09:38 AM

    Originally posted by: SystemAdmin


    I want to get stack trace with function names and line numbers for all threads on AIX64. I am using mt__trce() function with flags -g, -qtable=full and -O3 for optimization. On AIX32 mt__trce() with these flags works just perfect but on AIX64 it provides stack trace only for the current thread.

    What is wrong?
    #AIX-Forum


  • 2.  Re: Getting stack trace with names and line numbers for all threads on AIX64

    Posted Wed August 26, 2009 03:03 PM

    Originally posted by: SystemAdmin


    Hi,

    Would you be so kind to post the solution which works on AIX32?

    I am looking for a solution, how to list threads for some process, find the most huge (memory, cpu, etc) thread and kill that thread if I am sure that this thread 'went crazy'.

    Do you know how to achieve this?

    Thanks,
    Krupek
    #AIX-Forum