robbiew | 1f25453 | 2003-03-28 22:07:58 +0000 | [diff] [blame] | 1 | #DESCRIPTION:Utility to crash your machine |
nstraz | b72f4d8 | 2001-04-03 21:29:30 +0000 | [diff] [blame] | 2 | # Before running these: BACKUP YOUR SYSTEM! you've been warned! |
| 3 | f00f f00f |
| 4 | # This is a simple test for handling of the pentium f00f bug. |
| 5 | # It is an example of a catistrophic test case. If the system |
| 6 | # doesn't correctly handle this test, it will likely lockup. |
nstraz | db8ba41 | 2001-06-04 15:30:54 +0000 | [diff] [blame] | 7 | crash01 crash01 |
nstraz | b72f4d8 | 2001-04-03 21:29:30 +0000 | [diff] [blame] | 8 | # Generate random code and execute it. Read f00f comment, |
| 9 | # this test lockup SunOS,WindowsNT,etc. in seconds.. |
| 10 | crash02 crash02 |
| 11 | # Generate random syscalls and execute them, less probability |
| 12 | # to hose your system, but still. |
| 13 | mem01 mem01 -r |
| 14 | # Memory eater. Loves to be run in parallel with other programs. |
| 15 | # May panic on buggy systems if the OOM killer was not fast enough :-) |
nstraz | cdae3fc | 2002-07-19 15:59:19 +0000 | [diff] [blame] | 16 | fork12 fork12 |
| 17 | # Fork as many children as possible. On systems with lots of memory |
| 18 | # and kernels prior to 2.4.19, this can hang the system by using up all pids |