To stress test the CPU, RAM and disks (well, mostly disk access), my personal 
favorite is what a co-worker, UNIX guru showed me. Set up the following shell 
scripts and run 5-20 (or more) copies of each of them depending on the size 
of your hardware.

Script 1
-----------------------
#!/bin/sh

# Comment in and out according to your HW
# For SCSI
cp /dev/sda /dev/null

#For IDE
cp /dev/hda /dev/null
-----------------------

Script 2
-----------------------
#!/bin/sh

find / | cpio -o  | compress > /dev/null
# replace "compress" with "gzip" or "bzip2" if you like
-----------------------

In the past, I usually run more of script2 then script1 so that memory and 
CPU get eaten up fairly well. Throwing in a linux kernel source compile 
wouldn't hurt either. 

Note: you may have to tune up your system to have these scripts run 
well; see http://linuxperf.nl.linux.org or other Linux performance tuning site

For network you can add some copying to or from  NFS or samba filesystems or 
use something like iperf or ttcp (correct name?).


On Tuesday 09 October 2001 18:32, Harpreet Dhillon wrote:
> Hi
>     Is there any linux utility to stress the system hardware like CPU, RAM,
> Hard Disk drives, video, NIC etc. ??
>
> Thanks



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to