On 10/9/15, Zachary Crownover <zachary.crownover at gmail.com> wrote:
> You could also look at what facter does, from puppet. It's also Ruby and
> being rewritten in C++.
Not too much info:
class BSD < Base
def get_processor_count
Facter::Util::POSIX.sysctl("hw.ncpu").to_i
end
end