Class: StressReporter::Actions::Free
- Inherits:
-
Object
- Object
- StressReporter::Actions::Free
- Defined in:
- lib/stress_reporter/actions/free.rb
Overview
Returns output of free command
TODO: Should read /proc directly
Class Method Summary collapse
-
.report ⇒ Object
Report returns a string array.
Class Method Details
.report ⇒ Object
Report returns a string array
9 10 11 |
# File 'lib/stress_reporter/actions/free.rb', line 9 def self.report `free`.map(&:chomp) end |