Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 01:55:04 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Ken Marx <kmarx@bigshed.com>
Cc:        questions@freebsd.org
Subject:   Re: kernel core image
Message-ID:  <15004.44760.531860.628224@guru.mired.org>
In-Reply-To: <22376787@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Ken Marx <kmarx@bigshed.com> types:
> Is there a way to get a copy of a running kernel core image?

If you've compiled with the DDB option, invoking the debugger and
using the "panic" command will do the trick. Of course, you might be
better off using the debugger to find the information you want, then
continuing or shutting the system down smoothly.

If you just want a copy of the kernel virtual memory space, it's
/dev/kmem. But be carefull with it - it includes the I/O address
space, so you can royally hose your system playing with it.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15004.44760.531860.628224>