i forgot to attach the recipie for disaster.

        sleep 1000000 & 
        cd /proc/$apid
        while()cat text>/dev/null

that's about 1000x slower than necessary.  you can speed up the crash
by using the following program.

- erik

----
#include <u.h>
#include <libc.h>

void
main(void)
{
        for(;;)
                close(open("text", OREAD));
        exits("");
}

Reply via email to