![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filesystem mystery: disks are not busy on one machine, very busy on a similar box | mschwage | UNIX for Advanced & Expert Users | 2 | 08-13-2009 01:56 PM |
| Script Help - Another Way To Write This | gbxfan | Shell Programming and Scripting | 2 | 04-17-2009 02:01 PM |
| Should I write a PERL Script or Shell Script? | mojoman | UNIX for Dummies Questions & Answers | 2 | 11-11-2008 03:54 PM |
| Help me to write the script | gyana_cboy | Shell Programming and Scripting | 5 | 10-05-2007 02:19 AM |
| How to write script for this ? | me_haroon | AIX | 0 | 07-01-2006 06:30 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
This gets close :-)
dd if=/dev/urandom of=/dev/null & dd if=/dev/urandom of=/dev/null & dd if=/dev/urandom of=/dev/null & (repeat for as many CPUs as you have) nmon output: Code:
x CPU-Utilisation-Small-View x x 0----------25-----------50----------75----------100 x xCPU User% Sys% Wait% Idle%| | | | | x x 0 2.5 76.5 0.0 21.0|Ussssssssssssssssssssssssssssssssssssss> | x x 1 1.0 80.5 0.0 18.5|ssssssssssssssssssssssssssssssssssssssss > x x 2 1.0 82.5 0.0 16.5|sssssssssssssssssssssssssssssssssssssssss > | x x 3 0.0 87.5 0.0 12.5|sssssssssssssssssssssssssssssssssssssssssss > | x xPhysical Averages +-----------|------------|-----------|------------+ x xAll 5.5 74.2 0.0 20.2|>Usssssssssssssssssssssssssssssssssssss | x x +-----------|------------|-----------|------------+ |
|
||||
|
Well, I suppose you could try some of the "SPEC" tests, some of which are designed to measure maximum throughputs. (Others are designed to emulate typical business workloads.)
See: SPEC - Standard Performance Evaluation Corporation |
|
|||||
|
Hi,
try if nstress is doing what you like to do ? IBM developerWorks: Wikis - AIX - nstress Kind regards zxmaus |
|
||||
|
you could use something like that:
spawns 2 bc processes per processor Code:
#!/usr/bin/ksh
CPUCOUNT=$(($(lsdev -C | grep "[P]rocessor"| wc -l)*2))
while true
do
if [ $(ps -ef | grep -w "[d]c" | wc -l ) -lt $CPUCOUNT ]
then
ps -ef | grep -w "[d]c" | wc -l
echo 9999^9999 | bc >/dev/null 2>&1 &
fi
done
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|