Path: | lib/facter/physicalprocessorcount.rb |
Last Update: | Sun Oct 21 20:29:25 -0400 2012 |
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: