Module Facter::Memory
In: lib/facter/util/memory.rb

memory.rb Support module for memory related facts

Methods

Public Class methods

Darwin had to be different. It‘s generally opaque with how much RAM it is using, and this figure could be improved upon too I fear. Parses the output of "vm_stat", takes the pages free & pages speculative and multiples that by the page size (also given in output). Ties in with what activity monitor outputs for free memory.

[Validate]