1833776 Members
2523 Online
110063 Solutions
New Discussion

Stress HPUX

 
Jose_129
Regular Advisor

Stress HPUX

Somebody know software to full stress the HPUX.
Change password in way single user, beginning in multiuser way console
7 REPLIES 7
Todd McDaniel_1
Honored Contributor

Re: Stress HPUX

Not sure what exactly you are looking for, but you can kick off a few commandline scripts to run a while which will test your CPU.

cp /dev/zero /dev/null

find / -name (non-existing file) -print


I know someone has a few scripts to do this more thoroughly....

Unix, the other white meat.
Jose_129
Regular Advisor

Re: Stress HPUX

I need Software for full stress HPUX, I want that the server makes page out, page in(Swap).
Change password in way single user, beginning in multiuser way console
Bill Hassell
Honored Contributor

Re: Stress HPUX

I think you'll stress HP-UX if you try to load WinXP.

Oops, you want to cause swapping (actually known as paging)? Attached is a program that asks how much memory the program should grab. Tell it to grab about 800 megs. This assumes that the kernel parameter maxdsiz is set to 900 megs or larger. Run multiple copies of the program to use up more memory.

If you want to keep a CPU busy, run this set of commands:

while :
do
:
done

Repeat this command in other logins as many times as you have CPUs, and to watch context switches and see the runqueue (the value in uptime) go way up, run this little script 5 or 10 times for each CPU.

Now this is a overly simplistic method to stress the system. The mallocmegs program (attached) simply allocates space and will force swapping to occur. The CPU-busy script just puts the shell in a loop. If you are looking for an acceptance test, this is much more difficult to do since all the criteria must first be defined.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: Stress HPUX

Let me on a keyboard as root for five minutes, I'll stress you out.

Your system too.

I use the find commands in conjunction with Bill while loops for stress testing. It gets the load factor cranked pretty quickly.

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
Todd McDaniel_1
Honored Contributor

Re: Stress HPUX

Also, running dd commands to disks along the same i/o (HBA) to attached disks, will give you throughput test or do large cp tests

prealloc file1 300000000
prealloc file2 300000000

then cp away!!!!!!!!!

You can also nice them at kickoff so they will get a better priority and strain your resources more than normal.
Unix, the other white meat.
Jose_129
Regular Advisor

Re: Stress HPUX

Software for Full stress a memory?
Change password in way single user, beginning in multiuser way console
Alzhy
Honored Contributor

Re: Stress HPUX

You can also try running xdoom or quake for UNIX.. there should be sources lying somewhere.... ;^) Really I am serious..

If it is just cpu stress tests, then search for C source engineering programs out on the net (preferably finite element analysis) and compile 'em..

For stressing your I/O.. you could try "bonnie" or "Iozone" - search for them on the net.. should be easy compiles. Or if you are using Veritas Volume Manager with VxFS (aka O/OFS).. ask Veritas for a program called "vxbench"..

All together now... run any RDBMS on it ie. Oracle or MySQL (yes it is bundled with 11i!).. load em up and stress...
Hakuna Matata.