Class God::System::SlashProcPoller
In: lib/god/system/slash_proc_poller.rb
Parent: PortablePoller

Methods

Constants

MeminfoPath = '/proc/meminfo'
UptimePath = '/proc/uptime'
RequiredPaths = [MeminfoPath, UptimePath]

Public Class methods

FreeBSD has /proc by default, but nothing mounted there! So we should check for the actual required paths! Returns true if RequiredPaths are readable.

Public Instance methods

TODO: Change this to calculate the wma instead

[Validate]