MySQL Forums
Forum List  »  InnoDB

Re: Regarding stack trace of different threads for a mysqld process
Posted by: Shane Bester
Date: December 11, 2014 11:44AM

On linux you can use GDB like this:
gdb -ex "set pagination 0" -ex "thread apply all bt" --batch -p PIDOFMYSQLD

On solaris:
pstack PIDOFMYSQLD | c++filt

On windows, you could use windbg if you have it installed:
windbg.exe -c "~*kn 50 ; .detach ; q" -Q -logo stacks.txt -pn mysqld.exe

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Regarding stack trace of different threads for a mysqld process
977
December 11, 2014 11:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.