Operating System - HP-UX
1753506 Members
5077 Online
108795 Solutions
New Discussion юеВ

Re: automated stress testing?

 
SOLVED
Go to solution
Doug O'Leary
Honored Contributor

automated stress testing?

Hey;

Is anyone aware of any programs/scripts to stress test a system? The basic goal, as I understand it, is to crank a bunch of systems up as far as they'll go to test out a room's cooling. At least that's what I've been told. Seems like a squirrelly way to go about it, but I wasn't asked...

SUN apparently has a Validation Test Suite (http://www.sun.com/oem/products/vts/index.html) which can be used on sun systems. Does anyone know of something similar for HPs?

Thanks for any hints/tips/suggestions.

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: automated stress testing?

Shalom.

Question has been asked before after a fashion.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1232650223290+28353475&threadId=318048

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: automated stress testing?

Hi Doug:

If you want to run your CPU's at full throttle, this will do:

# perl -e 'fork; fork; 1 while {}' #...creates FOUR processes...

For every 'fork()' statement you add, the number of processes rises exponentially. Hence the above would load-up four processors doing an endless loop.

Regards!

...JRF...
Michael Steele_2
Honored Contributor

Re: automated stress testing?

This is what offline testing from a CE is for and its something I've used recently on a PA-Risc superdome after a cell board replacement. And although probably not needed, it was not to perform for the managers anyway.

And the CE procedures is very similar to what you can do on in STM. Every HW component is excercised.

To get an idea run STM > Tools > Excercise

When using STM be aware that this is an intrusive test that should be run when the system is quiesced.
Support Fatherhood - Stop Family Law
Solution

Re: automated stress testing?

Doug,

Support Tools Manager (STM), which you should nhave installed has exerciser tools built into it for most major components. You might want to have a casual look at them via mstm (a text UI) or xstm (an X windows UI) to understand what they do. Once you're happy with them you can run it all from the command line using cstm (a CLI) like the following:

This example will fully exercise CPU and memory for 12 hours (720 minutes):

echo "scl qualifier cpu;scl qualifier memory;eop time 720 maxcoverage;exc;wait;eal;"| cstm

I seem to recall there are other tools for disk and network too.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
VK2COT
Honored Contributor

Re: automated stress testing?

Hello,

Lot of possibilities and our colleagues in the
forum already gave you some valuable
references.

Take a look at more:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1194922

Others and me gave lot of interesting
options in that thread.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Michael Steele_2
Honored Contributor

Re: automated stress testing?

Points?
Support Fatherhood - Stop Family Law
Doug O'Leary
Honored Contributor

Re: automated stress testing?

Relax! I think it's a fair assumption based on my profile that I award points.

As for the rest, thanks one and all. The information, particularly the cstm commands, was very useful. I appreciate it.

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html