wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / wmmon / wmmon.1
blobe88350aeff3caf042860cd4650d3eb4e32155f70
1 '\" t
2 .\" Man page for wmmon
3 .\" Copyright (c) 2003  Software in the Public Interest, Inc.
4 .\"
5 .\" This program is free software; you can redistribute it and/or modify
6 .\" it under the terms of the GNU General Public License as published by
7 .\" the Free Software Foundation; either version 2 of the License, or (at
8 .\" your option) any later version.
9 .\"
10 .\" This program is distributed in the hope that it will be useful, but
11 .\" WITHOUT ANY WARRANTY; without even the implied warranty of
12 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 .\" General Public License for more details.
14 .\"
15 .\" You should have received a copy of the GNU General Public License
16 .\" along with this program; if not, write to the Free Software
17 .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 .\"
19 .TH wmmon 1 "May 1998" "WMMON 1.0b2"
21 .SH NAME
22 wmmon \- Window Maker dockapp for monitoring system information
24 .SH SYNOPSIS
26 .B wmmon
28 .I OPTION
31 .SH DESCRIPTION
33 .B WMMon
34 monitors the realtime CPU load as well as the average system load,
35 and gives you some nice additional features too. It is intended for
36 docking in Window Maker.
38 It currently provides:
40 .IP \(bu 4
41 a realtime CPU stress meter;
42 .IP \(bu
43 an auto-scaled average system load meter, like
44 .B xload
45 and
46 .BR wmavgload ;
47 .IP \(bu
48 hint lines change color as the system load increases.
49 .RS
50 .IP \(bu
51 green for multiples of 1
52 .IP \(bu
53 yellow for multiples of 10
54 .IP \(bu
55 red for multiples of 100
56 .RE
57 .IP \(bu
58 a realtime disk I/O stress meter;
59 .IP \(bu
60 auto-scaled disk I/O load meter;
61 .IP \(bu
62 realtime memory and swap usage meters;
63 .IP \(bu
64 a display for system uptime;
65 .IP \(bu
66 three user-defined commands to launch.
68 .SH OPTIONS
70 .TP
71 .BI \-display \ display
72 This option specifies the X server to contact; see
73 .IR X(7x) .
75 .TP
76 .BI \-geometry \ geometry
77 This option specifies the preferred position of clock; see
78 .IR X(7x) .
80 .TP
81 .BR \-l
82 Lock the mode, so that it cannot be cycled by clicking on the upper-left
83 widget.  You can use this to open multiple copies of
84 .BR WMMon ,
85 each set to a different mode.
87 .TP
88 .BR \-i
89 Start in disk I/O mode, which displays instantaneous disk usage and
90 average disk load.
92 .TP
93 .BR \-b
94 Include buffers and cache in memory usage calculations. The trend in
95 recent years has been to not include this in memory load monitors, but it
96 can be useful information.
98 .TP
99 .BR \-s
100 Start in system information mode, which displays memory usage, swap usage,
101 and uptime.
104 .B \-h
105 Show help information.
108 .B \-v
109 Print the version number.
111 .SH USAGE
113 .B WMMon
114 display can be cycled between CPU, disk I/O, and system
115 information displays by clicking on the upper-left widget.  This
116 displays CPU information by default.
118 WMMon can also be used to launch programs.  You may click either left,
119 middle, or right mouse buttons in the average-load section of the
120 window.  The pre-configured program will be launched according to the
121 mouse button clicked.  (see
122 .B CONFIGURATION FILE
123 below.)
125 In order to move
126 .BR WMMon ,
127 drag on the outer edges.  These are not sensitive to mouse clicks.
129 .SH "DOCKING IN WINDOW MANAGERS"
132 Window Maker
134 Window Maker users should drag and drop the
135 .B WMMon
136 window on the Dock.  Then, right-click on the border of the window and
137 select \*(lqSettings...\*(rq.  Check \*(lqStart when Window Maker
138 is started\*(rq.
141 AfterStep
143 AfterStep users should put the following in their
144 .I $HOME/.steprc
146 .RS 16
147 Wharf wmmon \- MaxSwallow "wmmon" wmmon &
151 Other window managers
153 .B WMMon
154 runs nicely as a 64x64 shaped icon on your desktop.
156 .SH "CONFIGURATION FILE"
158 .B WMMon
159 can launch three user-defined commands, triggered by left, middle and
160 right mouse button clicks.  You can define the commands to launch in
161 .I $HOME/.wmmonrc
164 .PD 0
165 left: xterm
167 middle: xload
169 right: xcalc
175 .B WMMon
176 detects a
177 .I $HOME/.wmmonrc
178 file, it will launch the appropriate command when you click on the clock.
180 The system administrator can define default commands in
181 .IR /etc/wmmonrc .
182 The administrator may also choose to \*(lqfix\*(rq particular commands,
183 making it impossible for users to change.  These commands can be defined in
184 .IR /etc/wmmonrc.fixed ,
185 although this isn't a nice thing to do.
187 .SH FILES
189 .I /etc/wmmonrc
191 .I $HOME/.wmmonrc
193 .I /etc/wmmonrc.fixed
195 .SH AUTHORS
197 .B WMMon
198 was written by Martijn Pieterse and Antoine Nulle.
200 This manual page was written by Simon Law <sfllaw@debian.org> for the
201 .B Debian
202 system (but may be used by others). It is based on the documentation provided
203 by the original program.
205 This manual is free software; you can redistribute it and/or modify
206 it under the terms of the GNU General Public License as published by
207 the Free Software Foundation; either version 2 of the License, or (at
208 your option) any later version.