On Mon, Jan 12, 2009 at 5:12 PM, Piotr Jasiukajtis
<pjasiukajtis at opensolaris.com.pl> wrote:
> Hi,
>
> Is there any chance to force a panic on the x86 box in for example 5-10
> minutes after system started?
>
> I have a specific issue and cannot login to that host so i can't do it
> manually...

You could probably do this with DTrace's anonymous tracing feature.
For example, you could use a 'tick-300s' probe to fire and call the
panic() action (making sure to specify the 'destructive' option.)

This sets up the possibility of having a box that always reboots after
5 minutes, so you'd want to remove the anonymous tracing as part of
the script.

Note that I haven't tried this myself.

Chad

Reply via email to