Sha256: 38d65a51868011e899fd634c1a2d508fb0d3fe6afcdc126e797f57e36f4813b3
Contents?: true
Size: 530 Bytes
Versions: 39
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true module Facts module Aix module Memory module System class Used FACT_NAME = 'memory.system.used' def call_the_resolver fact_value = Facter::Resolvers::Aix::Memory.resolve(:system) if fact_value fact_value = Facter::Util::Facts::UnitConverter.bytes_to_human_readable(fact_value[:used_bytes]) end Facter::ResolvedFact.new(FACT_NAME, fact_value) end end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems