How do you make your UNIX crash ???
David G. Paschich
dpassage at tornado.Berkeley.EDU
Tue Mar 19 14:40:56 AEST 1991
In article <JCO.91Mar18112624 at crane.cis.ufl.edu> jco at crane.cis.ufl.edu (Dumpmaster John) writes:
>
>Someone talked about a 3 line script to crash a unix box here (but I can't
>find that message.)
>
>Anyway, what the script was:
>
>while (1) do
> mkdir 1; cd 1
>end
>
>Minus some shell syntax. this is it. However, on newer OS's this won't
>work. I think it has a minfree on the inodes as well, or some thing like
>that.
A while back on the machine run by the CS Undergrad Assn. here at UC
Berkeley there was a tongue-in-cheek "Space Warrior" competition to try to
get people to clean up their disk space. One guy won by writing a little
program which malloc'ed 1 meg of memory until the disk was 99% full. This
works on Apollos because the swap is kept in a "first-class file", not in a
separate partition.
David G. Paschich Open Computing Facility UC Berkeley
dpassage at ocf.berkeley.edu
"I'm so happy I can't stand myself" -- Adam Glass
More information about the Comp.unix.admin
mailing list