Sunday, August 14, 2016

debugging using gstack


       gstack - print a stack trace of a running process

       gstack <pid of the process>

       gstack  attaches  to the active process named by the pid on the command
       line, and prints out an execution stack trace.

       If the process is part of a thread group, then gstack will print out  a
       stack trace for each of the threads in the group.

       Ensure it is not stripped of symbols to get trace.

No comments:

Post a Comment