wmload: Add manpage from Debian.

Slightly modified from [1].  Also modify Makefile to install manpage.

[1] http://manned.org/wmload/a214d0b5/src
This commit is contained in:
Doug Torrance 2015-04-07 02:45:14 -05:00 committed by Carlos R. Mafra
parent 920a4b8c3b
commit 9f1c62ec91
2 changed files with 54 additions and 0 deletions

View file

@ -2,6 +2,7 @@ OBJS = wmload.o
LIBS = -lX11 -lXpm -lXext -lm
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1
INSTALL = install
%.o: %.c
@ -16,3 +17,5 @@ clean:
install: wmload
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) wmload $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(MANDIR)
$(INSTALL) -m 644 wmload.1 $(DESTDIR)$(MANDIR)

51
wmload/wmload.1 Normal file
View file

@ -0,0 +1,51 @@
.TH WMLOAD 1 "September 1999"
.SH NAME
wmload \- graphically display the kernel/system statistics
.SH SYNOPSIS
.B wmload
[ \-u <secs> ] [ \-e <program> ] [ \-l <color> ]
[ \-p [+|\-]x [+|\-]y ] [ \-s ] [ \-i ] [ \-w ] [ \-v ]
.SH DESCRIPTION
\fBwmload\fP displays a graphical representation of the kernel/system
statistics on a 64x64 miniwindow. There are three shades in the window:
the light one, which corresponds to \fIuser\fP statistics, second is
the \fInice time\fP statistics, and the darkest one is \fIsystem\fP
statistics.
.SH OPTIONS
.TP
.I \-u <secs>
updatespeed
.TP
.I \-e <program>
program to start on click
.TP
.I \-p [+|\-]x[+|\-]y
position of wmload
.TP
.I \-s
without groundplate
.TP
.I \-i
start up as icon
.TP
.I \-w
start up withdrawn
.TP
.I \-v
output version
.SH FILES
.TP
.I /proc/stat
kernel/system statistics and other information
.SH AUTHORS
.B wmload
was written by Ryan Land <rand@bc1.com>, based on asload by Beat Christen
<bchriste@iiic.ethz.ch>.
.sp
This manpage was written by Marcelo Magallon <mmagallo@debian.org>.
.SH "SEE ALSO"
.BR ps (1),
.BR tload (1),
.BR top (1),
.BR uptime (5),
.BR w (1).