how to force a dump?

Steve DeJarnett steve at polyslo.CalPoly.EDU
Fri Apr 28 10:37:54 AEST 1989


In article <8904272154.AA00226 at era.ucar.edu.UCAR.EDU> era at NIWOT.UCAR.EDU writes:
>Question: is there some way, from one of the COS panels, to coerce
>OSx into dropping a core file?

	Build a kernel with the Kernel debugger installed.  To do this, edit
your local Kernel configuration file (not conf.c but UCAR or whatever you call
it) and add the line

	debugger

Then, when this happens, from the console, type:

	CTRL-@

This will dump you into the kernel debugger, where you can do things like 
check which process is running, look at it's call stack, and just about 
anything else you'd probably ever want to do.  One of the notable things
you can also do is panic the kernel (from the <dbg> prompt, type pa (for
panic, obviously).

	Hope that helps.

-------------------------------------------------------------------------------
| Steve DeJarnett            | Smart Mailers -> steve at polyslo.CalPoly.EDU     |
| Computer Systems Lab       | Dumb Mailers  -> ..!ucbvax!voder!polyslo!steve |
| Cal Poly State Univ.       |------------------------------------------------|
| San Luis Obispo, CA  93407 | BITNET = Because Idiots Type NETwork           |
-------------------------------------------------------------------------------



More information about the Comp.sys.pyramid mailing list