1828045 Members
1829 Online
109973 Solutions
New Discussion

Script to shoot CPUs

 
SOLVED
Go to solution
Arunvijai_4
Honored Contributor

Script to shoot CPUs

Hi All,

I would like to get a shell / perl /C code (should compile with default C compiler) that should shoot nearly 100% cpu usage. This is needed for my application's 11.23 qualification testing.

TIA,
Arun
"A ship in the harbor is safe, but that is not what ships are built for"
6 REPLIES 6
RAC_1
Honored Contributor

Re: Script to shoot CPUs

multiple finds

find . -name "sghshslx" -exec ll -d {} \;
find . -name "shjslhshslx" -exec ll -d {} \;
find . -name "sgrjrjrjlx" -exec ll -d {} \;
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Script to shoot CPUs

RAC, multiple finds shoot only at the max of 4%
Its a rx2600 (2*1.5Ghz) and got 4 GB of RAM.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: Script to shoot CPUs

while true
do
something
something
something
dne

start about 10 of such processes.
There is no substitute to HARDWORK
RAC_1
Honored Contributor
Solution

Re: Script to shoot CPUs

check this thread. It has some tools given by Geof.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=899730
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Script to shoot CPUs

Thanks RAC for pointing the thread what exactly i was looking for...Closing this thread

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Script to shoot CPUs

Closing
"A ship in the harbor is safe, but that is not what ships are built for"