Operating System - HP-UX
1832617 Members
2955 Online
110043 Solutions
New Discussion

hpux stress / load testing

 
JOHN TURNER_2
Frequent Advisor

hpux stress / load testing

Does anyone know of or have a product that perfroms stress / load testing on a hp-ux 11.11 server. i want to test the cpu, memory, I/O and disks on the system

thanks
John
GUI's are for wimps!
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: hpux stress / load testing

Shalom John,

http://www.nrgglobal.com/products/pureload_features.php

Though it may do it from a remote windows based system, seems this product can test verious services.

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
Ninad_1
Honored Contributor

Re: hpux stress / load testing

Please have a look at this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=899730

which probably has answer to your question.

Regards,
Ninad
James R. Ferguson
Acclaimed Contributor

Re: hpux stress / load testing

Hi John:

Good stress-testing is non-trivial, but here's a way to (at least) create CPU, I/O and memory utilization. You can encapsulate each of the code snippets into a shell script and launch multiple invocations too.

For creating a CPU load that stops after 60-seconds:

# perl -e '$SIG{ALRM}=sub {exit};alarm 60;1 while {}'

...change the value of 'alarm 60' according to your tastes.

For allocating some memory and sleeping for some period thereafter:

# perl -e '$sz=$ARGV[0] ||1_000_000;@a=1..$sz;sleep 30'

...You may need to adjuct the default allocation of 1,000,000 characters depending upon your kernel parameters. You can pass any value you want, too:

# perl -e '$sz=$ARGV[0] ||1_000_000;@a=1..$sz;sleep 30' 50000

...means allocate a string of 50,000 characters instead of the default 1,000,000.

As for I/O, use the classic one:

# dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=256k count=1000

...vary the count parameter to vary the amount of time doing I/O.

Regards!

...JRF...
Chan 007
Honored Contributor

Re: hpux stress / load testing

John,

Check this link,

http://opensourcetesting.org/performance.php

You can click on the test and find the installables for your testing.

Chan
Torsten.
Acclaimed Contributor

Re: hpux stress / load testing

Hi John,

beside many other tools you can use the exerciser tool from the diagnostics too.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
OldSchool
Honored Contributor

Re: hpux stress / load testing

For i/o testing, iozone works well and can produce excel files that can be graphed.

see:
http://www.iozone.org/