Scroll to navigation

gmemusage(1) General Commands Manual gmemusage(1)


gmemusage - graphically display memory used by running processes.


gmemusage [ options ]


Gmemusage is modelled after the program of the same name on Silicon Graphics' workstations. Gmemusage graphically displays the contents of memory on a running system, broken up by individual processes. The display is a stacked bar graph with the height of an area representing the RSS size of the corresponding process. In addition, the process name, number of processes with that name and the size (in kilobytes) are shown.

Processes which take up less memory than a (user-specifiable) threshhold are merged into a single area on the graph. Multiple processes with the same name are merged into a single area.

While running, gmemusage accepts the following keys:

Exit the program.
Increase the minimum threshhold by 10 kb.
Decrease the minimum threshhold by 10 kb.


Gmemusage accepts the following command-line options (defaults in brackets):

Class name to use for resources (Gmemusage)
X server to contact ($DISPLAY environment variable)
Initial window geometry (320x400)
Use font font for drawing text (fixed)
Color to use for window background (grey4)
Update interval (5 seconds)
Threshhold below which small processes are merged (400 kb)
How many different colors to use (3)
Name of first color (red/maroon)
Name of second color (green/OliveDrab)
Name of third color (blue/SlateBlue)
Names of remaining colors (undefined)
Print a short help message.


Gmemusage understands the following X resources. See the OPTIONS section for details of what they do.

name (class Name)
display (class Display)
geometry (class Geometry)
font (class Font)
background (class Background)
update (class Interval)
threshhold (class Threshhold)
ncolors (class NColors)
color1 (class Color)
color2 (class Color)
color3 (class Color)
color[4-9] (class Color)


See the TODO file which comes with the distribution.


top(1), ps(1), xosview(1).


Gmemusage version 0.2, 1998/01/14


Raju Mathur ( aka OldMonk.


The canonical site for gmemusage is:


Gmemusage is copyright (C) 1997, 1998 by Raju Mathur. See the file COPYING in the source directory for copyright information.

14 January 1998 Silicon Graphics