Closed this issue 15 years ago · 1 comments
def Driver.rss_current if RUBY_PLATFORM =~ /darwin/ ps u | grep #{Process.pid} | grep -v grep.strip elsif RUBY_PLATFORM =~ /mingw|mswin/ 0 else # assume linux (File.read "/proc/#{Process.pid}/statm").strip end end
ps u | grep #{Process.pid} | grep -v grep
and also rbs
somewhat done LOL