Sha256: 0aac253938a79e726eadaa289c0d5fa0e3a076edf78ad6ab3f7af08e001e490a

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

module Facter
  module El
    class MemorySwapUsedBytes
      FACT_NAME = 'memory.swap.used_bytes'

      def call_the_resolver
        fact_value = Resolvers::Linux::Memory.resolve(:swap_used_bytes)
        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/el/memory/swap/used_bytes.rb
facter-4.0.7.pre lib/facts/el/memory/swap/used_bytes.rb