Sha256: 74e7791096a670ff3cffdd826d011c94d4dd0edc214b2ff2ff7c4f9f3544613c
Contents?: true
Size: 355 Bytes
Versions: 2
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true module Facter module Sles class MemorySwapUsed FACT_NAME = 'memory.swap.used' def call_the_resolver fact_value = Resolvers::Linux::Memory.resolve(:used_bytes) fact_value = BytesToHumanReadable.convert(fact_value) ResolvedFact.new(FACT_NAME, fact_value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.8.pre | lib/facts/sles/memory/swap/used.rb |
facter-4.0.7.pre | lib/facts/sles/memory/swap/used.rb |