Add linux collection of cpu min/max.

Make cpu mhz default the current mhz.
This commit is contained in:
Matthew Kent committed 2009-08-12 23:43:35 -07:00
1 parent 5c8d1edbae
commit 09f3418c1a
4 files changed
+34 -3

No files matched your search

+3 -1
View File
@@ -11,6 +11,8 @@ puts num.to_s + " total CPUs.."
infos.each do |info|
puts "Vendor........" + info.vendor
puts "Model........." + info.model
puts "Mhz..........." + info.mhz.to_s
puts "Current Mhz..." + info.mhz.to_s
puts "Maximum Mhz..." + info.mhz_max.to_s
puts "Minimum Mhz..." + info.mhz_min.to_s
puts "Cache size...." + info.cache_size.to_s
end