Slightly modified from [1]. Also modify Makefile to install manpage. [1] http://manned.org/wmload/a214d0b5/src --- wmload/Makefile | 3 +++ wmload/wmload.1 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 wmload/wmload.1
diff --git a/wmload/Makefile b/wmload/Makefile index 20c1547..80498e3 100644 --- a/wmload/Makefile +++ b/wmload/Makefile @@ -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) diff --git a/wmload/wmload.1 b/wmload/wmload.1 new file mode 100644 index 0000000..c31e70d --- /dev/null +++ b/wmload/wmload.1 @@ -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 <r...@bc1.com>, based on asload by Beat Christen +<bchri...@iiic.ethz.ch>. +.sp +This manpage was written by Marcelo Magallon <mmaga...@debian.org>. +.SH "SEE ALSO" +.BR ps (1), +.BR tload (1), +.BR top (1), +.BR uptime (5), +.BR w (1). -- 2.1.0 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.