Path: | lib/facter/processor.rb |
Last Update: | Wed May 15 15:18:55 +0000 2013 |
Fact: processor
Purpose:
Additional Facts about the machine's CPUs.
Resolution:
On Linux and kFreeBSD, parse '/proc/cpuinfo' for each processor. On AIX, parse the output of 'lsdev' for its processor section. On Solaris, parse the output of 'kstat' for each processor. On OpenBSD, use 'uname -p' and the sysctl variable for 'hw.ncpu' for CPU count.
Caveats: