

wmdl ( Window Maker DOOM load (meter) )

Version 1.3

A simple LOAD or CPU meter using ID Software's DOOM faces.
( More Bloody = more system load or CPU usage ).

---------------------------------------------------------------------------

** NOTE ** Only works for UN*Xs with a /proc virtual filesystem such as Linux.
In fact, this has only been tested on linux.

INSTALL:
--------

	untar and unzip
	make
	copy wmdl to some directory in your $PATH.
	( ie: cp wmdl /usr/local/bin ) 

	type wmdl

	Grab the appicon and move it to the dock. 

	If make doesn't work, you may need to fiddle with the settings in 
	the Makefile.

	Tested on:
		WindowMaker-0.20.3
		X Clients: Red Hat 5.0
		X Servers: XFree86, Exceed



USAGE:
------


usage: [-v] [-h] [-s] [-w] [-m] [-f] [-u] [-d] [-g]


-g     geometry:  ie: 64x64+10+10
-d          dpy:  Display. ie: 127.0.0.1:0.0
-v             :  Verbose. 
-h             :  Help. This screen.
-w        i/n/w:  Windows: Iconic, Normal, or Withdrawn
-s          y/n:  Shaped window: y or n
-m         mode:  Mode: cpu or load
-f scale_factor:  Scale: x.y = 100% bloody
-u  miliseconds:  Update period: in miliseconds 

Defaults:
   -g 64x64+10+10
   -d NULL
   -w w
   -s y
   -m load
   -f 1.0 for CPU / -f 2.0 for LOAD 
   -u 500


Examples:

	wmdl					Use All defaults ( Just fine for Window Maker)
	wmdl -u 1000			Update every second (1000 miliseconds)
	wmdl -m cpu				Monitor CPU % usage instead of LOAD
	wmdl -f .5 -u 750		Scale. A load of .5 is 100% bloody.
							Update every 3/4 second.
	wmdl -w n -s n			Normal window mode. 
							Do not use shaped windows extension.
	wmdl -v					Print lots of useless information to stdout.
	wmdl -h 				Usage, Version, and Help.


	NOTE:  use Withdrawn state (default or -w w) in Window Maker.

	AfterStep Note:

	Thanks to Thadeu Penna <tjpp@bu.edu> who wrote:
	In my wharf file (AfterStep 1.7.25-devel)
	 *Wharf wmdl  - MaxSwallow "wmdl" wmdl -f 1.2 &






NOTES:
------

This Appicon is in tribute the the world's greatest game -- DOOM -- and the 
hundreds of hours it consumed.

This software is based on numerious other peoples appicons including wmmon, 
wmppp, wmload, etc.

This softare is GPL except of course for the DOOM face images which are 
certaintly owned by ID Software.

ID Software -- please don't sue me.


Please send comments, flames, etc to buddog@aztec.asu.edu

- Ben Cohen





CHANGES:
--------

wmdl-1.3 Jan 18, 1999
	Fixed default scale being forced when using -m switch.
	Made verbose more usefull.
	Added -w switch. Removed -i switch. Modified -s switch.

wmdl-1.2 Jan 18, 1999
	Fixed scale not handling floating point numbers properly.
	int scale_factor should be float scale_factor in refresh().

wmdl-1.1 Dec 25, 1998
	First version.


