RockPaperScissors

LizardSpock

 

memory_usage

A ruby gem to monitor memory usage. Works as a standalone application or can be used as an object to record memory usage.

$ gem install memory_usage

Stand alone command line application

$ memory_usage 

Filter by application.

$ memory_usage --filter memory_usage

see all options.

$ memory_usage --help

Or as part of an application

require 'rubygems'
require 'memory_usage'

a = MemoryUsage.new
a.report

a.refresh
a.report

a.filter("iTunes")
a.report

a.filter("") #Turn process name filter off
a.gt(100) #Processes using more then 100 MB
a.report

Requirements

Ruby
Mac OS X/Linux/Unix

The Ruby Gems page

Source

GitHub

Download

Latest Release
Platform Independent