summaryrefslogtreecommitdiffstats
path: root/lib/facter/processor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter/processor.rb')
-rw-r--r--lib/facter/processor.rb15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/facter/processor.rb b/lib/facter/processor.rb
index c71bad4..ec196b2 100644
--- a/lib/facter/processor.rb
+++ b/lib/facter/processor.rb
@@ -1,5 +1,18 @@
+# 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 it's processor section.
+# On OpenBSD, use 'uname -p' and the sysctl variable for 'hw.ncpu' for CPU
+# count.
+#
+# Caveats:
+#
+
# processor.rb
-# Additional Facts about the machine's CPUs
#
# Copyright (C) 2006 Mooter Media Ltd
# Author: Matthew Palmer <matt@solutionsfirst.com.au>