*BSD News Article 20727


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!hal.com!decwrl!vixie!efficacy!vixie
From: vixie@gw.home.vix.com (Paul A Vixie)
Newsgroups: comp.unix.bsd
Subject: Re: Want to stress test a BSD system (and sparc 4.4 installation notes)
Date: 10 Sep 93 02:19:24
Organization: Vixie Enterprises
Lines: 37
Message-ID: <VIXIE.93Sep10021924@gw.home.vix.com>
References: <CD3uss.2Fz@news2.cis.umn.edu>
NNTP-Posting-Host: gw.home.vix.com
In-reply-to: m4@maroon.tc.umn.edu's message of Thu, 9 Sep 1993 21:01:42 GMT

>I am looking for scripts/stuff/programs that especially stress test a BSD
>Unix system.  For example test:
>  a) all system calls giving typical bad parameters, etc,
>  b) by stress the various file systems types,
>  c) executing all possible instructions and fault conditions.

May I suggest the following item from the comp.sources.unix archives?

===

Subject:  v25i003:  crashme V1.8 - stress-test your U**X kernel
Newsgroups: comp.sources.unix
Approved: vixie@pa.dec.com

Submitted-by: George J Carrette <gjc@mitech.com>
Posting-number: Volume 25, Issue 3
Archive-name: crashme

[ I added "all", "clean", and "install" targets to the Makefile.  --mod ]

Crashme is a very simple program that tests the operating environment's
robustness by invoking random data as if it were a procedure.  The standard
signals are caught and handled with a setjmp back to a loop which will try
again to produce a fault by executing random data.  [... note that] to
really test a significant portion of an instruction set of a machine you
have to let a test like this run for weeks on end. It was really quite
suprising that so many machines crashed after only a few seconds.

#! /bin/sh
[...]

===
--
Paul Vixie
Redwood City, CA
<paul@vix.com>
decwrl!vixie!paul