On Friday, February 7, 2003, at 12:32 AM, Laurie A Duncan wrote: > On 2/7/03 12:13 AM, arturo at ethicist.net typeth: > >> Here's what you need to do. Put the following into a file named >> cpu.sh: >> >> #! /bin/sh >> i=0 >> j=0 >> while [ $i -lt 100 ] >> do >> i=`expr $i + 1` >> echo $i >> done | >> while read k ; do j=$j$k; done; >> >> After putting the above in cpu.sh do a >> chmod 777 cpu.sh >> then do >> time ./cpu.sh >> >> You'll see some statistics like so: >> >> % time ./cpu.sh >> 0.150u 1.100s 0:01.47 85.0% 0+0k 0+0io 0pf+0w >> > > Here's what I get on my dual 800 (using 100 as written above): > > > [Cube:~] laurie% time ./cpu.sh > > 0.120u 0.940s 0:00.88 120.4% 0+0k 0+0io 0pf+0w > > I like that. You used 120% of a CPU. One way of looking at it is that you're second CPU contributed 20% more oomph for this simple test. You wouldn't happen to have a single 800 laying around, would you?