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:
parent
920a4b8c3b
commit
9f1c62ec91
|
@ -2,6 +2,7 @@ OBJS = wmload.o
|
||||||
LIBS = -lX11 -lXpm -lXext -lm
|
LIBS = -lX11 -lXpm -lXext -lm
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
BINDIR = $(PREFIX)/bin
|
BINDIR = $(PREFIX)/bin
|
||||||
|
MANDIR = $(PREFIX)/share/man/man1
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
|
@ -16,3 +17,5 @@ clean:
|
||||||
install: wmload
|
install: wmload
|
||||||
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
||||||
$(INSTALL) wmload $(DESTDIR)$(BINDIR)
|
$(INSTALL) wmload $(DESTDIR)$(BINDIR)
|
||||||
|
$(INSTALL) -d $(DESTDIR)$(MANDIR)
|
||||||
|
$(INSTALL) -m 644 wmload.1 $(DESTDIR)$(MANDIR)
|
||||||
|
|
51
wmload/wmload.1
Normal file
51
wmload/wmload.1
Normal 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).
|
Loading…
Reference in a new issue