Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed the text formatting of the memory string

  • Loading branch information...
commit 828e30fde5ef8f32d9b99649db565a14c6408c49 1 parent 27773d9
draper authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  check_memory.rb
2  check_memory.rb
View
@@ -57,7 +57,7 @@ def bytes_to_megabytes bytes
uom="%"
performance_data= "#{perf_label}=#{value}#{uom};#{warning};#{critical};#{min};#{max}"
end
-output_text = "#{status} Installed Memory: #{total_memory }MB Free memory = #{total_free_memory}MB #{percent.to_i}% free"
+output_text = "#{status} #{percent.to_i}% free Installed Memory: #{total_memory }MB Free memory = #{total_free_memory}MB "
puts output_text + " | "+performance_data
exit exit_code
Please sign in to comment.
Something went wrong with that request. Please try again.