Last Modified
2014-09-11 00:16:17 +0000
Requires
  • thread
  • facter/util/processor
  • facter/util/posix
  • 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 the sysctl variables 'hw.model' and 'hw.ncpu'
for the CPU model and the CPU count respectively.

Caveats: