On Saturday 28 April 2007 04:33, Marc G. Fournier wrote:
> A thought: how hard would it be to add some method of forcing a
> system crash, that would dump core, from the command line?  Something
> that, by default, would be disabled, but for remote debugging
> purposes, one could enable in the kernel and do a 'sysctl
> kernel.force_core_crash=1' to have it do it?  I imagine that having a
> core to analyze would allow providing more information then nothing
> at all, no?

I think you can do this..
sysctl debug.kdb.panic=1

Alas that appears to be a -current thing. 6.x has debug.kdb.enter 
though.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgp1RMXdUwoh1.pgp
Description: PGP signature

Reply via email to