0.0
Low commit activity in last 3 years
Stripchart memory usage
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0.5.3
>= 1.2.7
>= 3.0.2
>= 8.0.2
>= 2.3.1
>= 4.2.1
 Project Readme

Runger Stripmem

Show a live chart of your process's memory usage.

example

⚠️ Linux only ⚠️

runger_stripmem reads process memory information directly from /proc/<pid>/status (specifically the RssAnon and VmSwap fields). These interfaces and fields are provided by the Linux kernel and do not exist on other operating systems (macOS, Windows, BSD, etc.). Because the gem depends on this Linux-specific memory accounting, runger_stripmem only works on Linux.

Installation

To use runger_stripmem standalone, install it:

gem install runger_stripmem

To use runger_stripmem in an existing application, add it to your Gemfile:

gem 'runger_stripmem', require: false

Usage

Note: although the gem is named runger_stripmem, the executable is just stripmem.

You can run this as a monitor of a new process and all processes spawned from it.

$ stripmem tar cfv /dev/null ~

If you installed it in your Gemfile, you can monitor your rails server process, too:

$ bundle exec stripmem rails server

Charts will automatically be opened at http://localhost:9999/.