physicalprocessorcount.rb

Path: lib/facter/physicalprocessorcount.rb
Last Update: Fri May 17 10:14:30 +0000 2013

Fact: physicalprocessorcount

Purpose: Return the number of physical processors.

Resolution:

  Attempts to use sysfs to get the physical IDs of the processors. Falls
  back to /proc/cpuinfo and "physical id" if sysfs is not available.

Caveats:

Required files

facter/util/wmi  

[Validate]