asmem(1)

NAME
asmem - the AfterStep memory monitor

SYNOPSIS
asmem [-h] [-v]
        [-i] [-w]
        [-p [+|-]x[+|-]y]
        [-bg color]
        [-fg color]
        [-a1 color]
        [-a2 color]
        [-a3 color]
        [-e command]
        [-noborder]

DESCRIPTION
The asmem is a X11 application that acts as an a memory monitor for computers running Linux. The applet provides a distinctive AfterStep window manager look.

Three arrows show (in the top-down order) the percentage of memory used for programs and system, memory used for cache and swap space.

CONFIGURATION OPTIONS

-h
    Prints a short description and usage message.

-v
    Version control. Prints the version of the applet.

-p [+|-]x[+|-]y
    Displays the window at the specified location on the screen. This works as standard X Windows geometry option.

-i
    Starts the asmem application in the iconized mode. The icon has the same appearance with the main window.

-w
    Starts the asmem application in the withdrawn mode. This option is necessary to be able to dock the asmem in the WindowMaker dock.

-fg <color>
    The color for the "foreground". This color is used to draw the bars along which the arrows slide. The default is LightGrey.

-bg <color>
    The color for the background of the meter. The default is black.

-a1 <color>
    Color of the upper (memory) arrow. Default is green.

-a2 <color>
    Color of the middle (cache) arrow. Default is yellow.

-a3 <color>
    Color of the bottom (swap) arrow. Default is red.

-e <command>
    The applet will run /bin/sh -c with the specified command on a mouseclick in the window.

-noborder
    Asks the asmem applet to draw no border around the application window.

INVOCATION
asmem was written to be swallowed by the AfterStep wharf module, but it can be used with everything else too. A common invocation is the command line:
	user@host[1]% asmem -fg LightSeaGreen -bg "#434343" &
Another way to call asmem is from the AfterStep Wharf:
	*Wharf asmem nil Swallow "asmem" asmem -fg LightSeaGreen &
This line, when placed in the wharf file in the users Afterstep configuration directory will cause asmem to be a button on the Wharf (1) button bar under the afterstep (1) window manager. If you run WindowMaker then you should use the "-w" (for "withdrawn") option:
	user@host[1]% asmem -w &
and then drag the icon to the dock.

BUGS
None that I am aware of.

FILES
/proc/meminfo

SEE ALSO
Wharf(1),proc(5)

COPYRIGHTS
Copyright (c) 1998 alinden@netcologne.de Distributed under GNU General Public License

AUTHORS
The application: alinden@netcologne.de The man page: Albert Dorofeev <Albert@mail.dma.be>