Re: Dumping memory of a running process?

Mike Harrold (mharrold@cas.org)
Tue, 13 Mar 2001 16:53:11 -0500 (EST)


>
> Is there a way to dump the memory of any process without stopping, or
> modifying it?
>
> Obviously normally stopping it would be the right thing to do, but
> is it possible, and if so, is there a handy tool?

fork() and raise(SIGABRT) in the child does the trick. Of course this
only works if you have access to the source code.

/Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/