xmem(1) memory/swap usage display utility for X


xmem [-toolkitoption...] [-update seconds] [-hl color] [-highlight color] [-jumpscroll pixels] [-label string] [-nolabel]


The XMEM program displays the used amount of memory/swap.


XMEM accepts all of the standard X Toolkit command line options (see X(1)). The order of the options in unimportant. XMEM also accepts the following additional options:
-hl color, -highlight color
This option specifies the color of the scale lines. (Xresource: *mem.highlight)
-jumpscroll number-of-pixels
The number of pixels to shift the graph to the left when the graph reaches the right edge of the window. The default value is 1/2 the width of the current window. Smooth scrolling can be achieved by setting it to 1. (Xresource: *mem.jumpScroll)
-label string
The string to put into the label in the XMEM window. (default: hostname alias) (Xresource: *label.label)
If this command line option is specified then no label will be displayed above the memory usage graph. (Xresource: *showLabel)
-update seconds
This option specifies the interval in seconds at which XMEM updates its display. The minimum amount of time allowed between updates is 1 second. The default is 10. (Xresource: *mem.update)
-codecolor color
Color for used code and stack memory. The default is red. (Xresource: *mem.codecolor)
-cachedcolor color
Color for cached memory. The default is yellow. (Xresource: *mem.cachedcolor)
-buffercolor color
Color for buffer memory. The default is blue. (Xresource: *mem.buffercolor)
-freecolor color
Color for free memory. The default is green. (Xresource: *mem.freecolor)
-swapcolor color
Color for swap memory. The default is red. (Xresource: *mem.swapcolor)


In addition to the resources available to each of the widgets used by XMEM there is one resource defined by the application itself.
showLabel (class Boolean)
If False then no label will be displayed.


In order to specify resources, it is useful to know the hierarchy of the widgets which compose XMEM. In the notation below, indentation indicates hierarchical structure. The widget class name is given first, followed by the widget instance name.

Xmem  xmem
     Paned  paned
          Label  label
          StripChart  load


to get the default host and display number.
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.


/etc/X11/app-defaults/XMem - specifies required resources


Copyright 1988, Massachusetts Institute of Technology.
See X(1) for a full statement of rights and permissions.


K. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS); with features added by Jim Gettys (MIT-Athena), Bob Scheifler (MIT-LCS), Tony Della Fera (MIT-Athena), and Chris Peterson (MIT-LCS).

Updated 2007/04 by Michelle Konzack <[email protected]>