Re: Dumping memory of a running process?

From: Mike Harrold (mharrold@cas.org)
Date: Tue Mar 13 2001 - 16:53:11 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/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:15 EST