Module: Memstat

Defined in:
lib/memstat.rb,
lib/memstat/cli.rb,
lib/memstat/version.rb,
lib/memstat/proc/base.rb,
lib/memstat/proc/smaps.rb,
lib/memstat/proc/status.rb,
lib/memstat/oob_gc/unicorn.rb

Defined Under Namespace

Modules: OobGC, Proc Classes: Cli

Constant Summary collapse

Error =
Class.new(StandardError)
VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.linux?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/memstat.rb', line 19

def linux?
  RUBY_PLATFORM =~ /linux/
end