- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: small script
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
Discussions
Discussions
Forums
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
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-14-2006 08:21 AM
тАО02-14-2006 08:21 AM
No big deal and please don't spend much time on this. Prefer ksh or real easy C compile or if there is a perl. I just have to run it on HPUX 11.x and Sun 8, 9 or 10.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 08:25 AM
тАО02-14-2006 08:25 AM
Re: small script
not sure about Sun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 08:40 AM
тАО02-14-2006 08:40 AM
SolutionFor running a CPU at 100% for 120-seconds:
# perl -e 'alarm 120;while (1) {}'
...this will automatically stop after 120-seconds. Adjust to your taste.
For doing I/O, chose a disk device and do:
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k
...kill with ^C when you are satisfied.
Regards!
...JRF...
- Tags:
- dd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 08:40 AM
тАО02-14-2006 08:40 AM
Re: small script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 09:03 AM
тАО02-14-2006 09:03 AM
Re: small script
The dd command is a good one to generate I/O.
Starting backup operations are also good cpu/memory/disk excersicers.
Check this link also:
http://www.acnc.com/benchmarks.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 09:24 AM
тАО02-14-2006 09:24 AM
Re: small script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2006 09:49 AM
тАО02-14-2006 09:49 AM
Re: small script
while :
do
:
done
Run this in the background once for each CPU to saturate everything, then run additional copies to show timeshare context switches.
Bill Hassell, sysadmin