Method: God::System::SlashProcPoller#memory
- Defined in:
- lib/god/system/slash_proc_poller.rb
#memory ⇒ Object
32 33 34 35 36 |
# File 'lib/god/system/slash_proc_poller.rb', line 32 def memory stat[:rss].to_i * @@kb_per_page rescue # This shouldn't fail is there's an error (or proc doesn't exist) 0 end |