<quote who="Anthony Wood">

>  awk '/BogoMips/i { SUM+=$3 } END {print SUM}' /proc/cpuinfo

I tried that too, but didn't post it:

  $ echo -e "BogoMIPS : 10\nBogoMIPS : 10\nEstoy : 10" | awk '/bogomips/i { SUM+=$3 } 
END {print SUM}'
  30

- Jeff

-- 
   "If the Internet really wanted to become sentient, it probably could."   
                               - Raph Levien                                
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to