[plug] pstack

James Devenish devenish at guild.uwa.edu.au
Thu Jan 8 15:17:48 WST 2004


Hmm,

In message <20040108071206.GA17191 at mail.guild.uwa.edu.au>
on Thu, Jan 08, 2004 at 03:12:06PM +0800, James Devenish wrote:
> How do you dump the execution stack of a currently-running process
> without being able to ptrace it? (E.g. isn't this what /proc is for?)

Not only am I replying to my own post, but I am remembering I was
involved in some sort of discussion about this last year. Hmm. Anyway,
it seems to best bet you can do is to use gdb. You need to give it the
path to the executable (see man page).





More information about the plug mailing list