Operating System - HP-UX
1819792 Members
3030 Online
109607 Solutions
New Discussion юеВ

System load testing scripts needed

 
Craig A. Sharp
Super Advisor

System load testing scripts needed

Hi all,

I am looking for scripts to perform heavy IO and CPU load testing on my HPUX and Linux systems. We have purchased a storage solution and need to load test as hard as possible.
Perl would be great but regular scripts or C is fine also.

Thanks,

Craig
2 REPLIES 2
Chris Wilshaw
Honored Contributor

Re: System load testing scripts needed

for I/O testing, you can use

dd if=/dev/dsk/cAtBdC of=/dev/null

replacing cAtBdC with valid disk devices

If you run one of these for all disks on the system at the same time, you should get a resonable test.
Elmar P. Kolkman
Honored Contributor

Re: System load testing scripts needed

A command I used in the past:

# cd /usr/bin
# while true
> do
> for i in *
> do
> nroff -man $i > /dev/null
> done
> done

This got a load on a uVax running ultrix to a value above 300 !!!
Every problem has at least one solution. Only some solutions are harder to find.