Last Modified
2013-07-01 15:39:05 +0000
Requires
  • thread
  • facter/util/processor
  • facter/util/wmi

Description

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: