now I know that under solaris, I can attach to a pid using gdb

and type

thread apply all bt

and then redirect and then gdb_output.txt

will have a nice thread trace for me, is there any way to do this under AIX???

I need to do this for the db2 process.