check-cpu.rb to check all CPUs

check-cpu.rb was only checking the first CPU in the system. This change aggregates counters across all CPUs (won't break on single-core systems either).