Path: | lib/facter/physicalprocessorcount.rb |
Last Update: | Thu Apr 11 05:22:11 +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: