Class: Facter::Processors::Linux
- Defined in:
- lib/facter/processors/os.rb
Instance Method Summary collapse
Methods inherited from GNU
Methods inherited from Base
#get_processor_count, #get_processor_list, #get_processor_speed
Instance Method Details
#get_physical_processor_count ⇒ Object
75 76 77 78 79 80 81 |
# File 'lib/facter/processors/os.rb', line 75 def get_physical_processor_count if count = count_physical_cpu_from_sysfs count else count_physical_cpu_from_cpuinfo end end |