fix searches
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
module Memorylogic
|
||||
class << self
|
||||
include ActionView::Helpers::NumberHelper
|
||||
end
|
||||
|
||||
def self.memory_usage
|
||||
ps = Sys::ProcTable.ps(Process.pid)
|
||||
if ps.respond_to?(:pctmem)
|
||||
ps.pctmem
|
||||
else
|
||||
0
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user