- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stress HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 07:18 AM
02-09-2004 07:18 AM
Stress HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 07:25 AM
02-09-2004 07:25 AM
Re: Stress HPUX
cp /dev/zero /dev/null
find / -name (non-existing file) -print
I know someone has a few scripts to do this more thoroughly....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 07:35 AM
02-09-2004 07:35 AM
Re: Stress HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 07:52 AM
02-09-2004 07:52 AM
Re: Stress HPUX
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 08:17 AM
02-09-2004 08:17 AM
Re: Stress HPUX
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 08:41 AM
02-09-2004 08:41 AM
Re: Stress HPUX
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 09:49 AM
02-09-2004 09:49 AM
Re: Stress HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2004 11:11 AM
02-09-2004 11:11 AM
Re: Stress HPUX
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...