fix count for mem tracker

This commit is contained in:
albert
2013-02-17 18:21:15 -05:00
parent a3658f6811
commit 88c72cac5c

View File

@@ -4,6 +4,6 @@ module Memorylogic
end
def self.memory_usage
number_to_human_size(`ps -o rss= -p #{Process.pid}`.to_i)
number_to_human_size(`ps -o rss= -p #{Process.pid}`.to_i * 1.kilobyte)
end
end