Class: StressReporter::Actions::Free

Inherits:
Object
  • Object
show all
Defined in:
lib/stress_reporter/actions/free.rb

Overview

Returns output of free command

TODO: Should read /proc directly

Class Method Summary collapse

Class Method Details

.reportObject

Report returns a string array



9
10
11
# File 'lib/stress_reporter/actions/free.rb', line 9

def self.report
  `free`.map(&:chomp)
end