Table of Contents
xapmload - APM battery charge grapher for Xwindows
xapmload
[-toolkitoption ...] [-a] [-update secs] [-click-command cmd] [-scale integer]
[-jumpscroll pixels]
xapmload displays a histogram of the system's
battery charge updated once a second. It also has a label which displays
the system's battery charge in percent and, when discharging, hh:mm format
(eg "83% 02:32 hrs".) The "-a" options causes xapmload to graph the expotential
decay average battery charge. The produces smooth graphs just like xload.
Xapmload accepts all of the standard X Toolkit command line options
(see X(1)
). The order of the options in unimportant. xapmload also accepts
the following additional options:
- -update seconds
- This option specifies
the interval in seconds at which xapmload updates its display. The minimum
amount of time allowed between updates is 1 second. The default is 1.
- -click-command
cmd
- This option specify the command to be executed when the left mouse
button is clicked.
- -click-command2 cmd
- This option specify the command to
be executed when the center button is clicked.
- -click-command3 cmd
- This
option specify the command to be executed when the right mouse button
is clicked.
- -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.
- -scale integer
- This option specifies
the minimum number of tick marks in the histogram, where one division represents
one load average point. If the load goes above this number, xapmload will
create more divisions, but it will never use fewer than this number. The
default is 1.
<XRoot>/lib/X11/app-defaults/XApmload - specifies required
resources
X(1)
, xrdb(1)
xapmload is developed with Linux and
should work with FreeBSD. However, it has not been tested with FreeBSD.
xapmload
was written by steve rader <rader@hep.wisc.edu>
xapmload uses code written
for wmapm written by Chris D. Faulhaber <jedgar@speck.ml.org> copyright 1998
xapmload was developed using the orginal xload source code authored by
K. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS);
Table of Contents