File: processor.rb [facter-1.7.3 Documentation]

Last Modified
  2014-01-23 06:39:29 +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: