1 WMCPULoad - A dockapp to monitor CPU usage
5 WMCPULoad is a program to monitor CPU usage. It is a dockapp that is supported
6 by X window managers such as Window Maker, AfterStep, BlackBox, and
9 It displays the current usage, expressed as a percentile and a chart, and has an
10 LCD look-alike user interface. The back-light may be turned on/off by clicking
11 the mouse button over the application. If the CPU usage hits a certain
12 threshold, an alarm-mode will alert you by turning back-light on.
14 It runs on GNU/Linux / FreeBSD / OpenBSD / NetBSD / BSDi / Solaris / Cygwin /
19 See the file 'INSTALL' for instructions.
24 - GPL applies all portions of the code I wrote. Please see COPYING file.
30 -d, --display <string> display to use
31 -t, --title <string> application title name
32 -bl, --backlight turn on back-light
33 -lc, --light-color <color> back-light color (rgb:6E/C6/3B is default)
34 -i, --interval <number> number of secs between updates (1 is default)
35 -c, --cpu <number> which CPU is monitored (0, 1, ...)
36 -n, --ignore-nice ignore a nice value
37 -p, --ignore-proc <name><...> ignore all processes specified by command name
38 -h, --help show this help text and exit
39 -v, --version show program version and exit
40 -w, --windowed run the application in windowed mode
41 -wp, --windowed-withpanel run the application in windowed mode
43 -bw, --broken-wm activate broken window manager fix
44 -a, --alarm <percentage> activate alarm mode. <percentage> is threshold
45 of percentage from 0 to 100 (90 is default)
48 - '-n, --ignore-nice' option is activated under GNU/Linux / {Free,Open,Net}BSD.
49 - '-p, --ignore-proc' option is activated under GNU/Linux.
50 - '-c, --cpu' option is activated under GNU/Linux / IRIX.
55 Add this line to your ~/GNUstep/Library/AfterStep/wharf:
57 *Wharf wmcpuload - Swallow "wmcpuload" wmcpuload -w &
62 If you want to run wmcpuload as swallowed application inside the GNOME panel,
63 open 'Create swallow Applet' dialog and enter the values as below.
65 1. Title application to swallow: <title name> - specified with '-t' option
66 2. Command (optional): wmcpuload -w -t <title name>
70 NOTE: GNOME2 does not support the swallowed application.
73 For Enlightenment users
74 =======================
75 Use '-bw, --broken-wm' option.
80 Add following entry to your ~/.golem/plugins/pier/rc
83 param "cmd" "exec wmcpuload";
84 param "class" "wmcpuload.DockApp";
88 Frequently Asked Questions
89 ==========================
91 Q) Which window managers do support dockapps?
92 A) - Window Maker http://www.windowmaker.org/
93 - AfterStep http://www.afterstep.org/
94 - Blackbox http://blackboxwm.sourceforge.net/
95 - Enlightenment http://www.enlightenment.org/
96 - Fluxbox http://fluxbox.sourceforge.net/
97 - Waimea http://waimea.sourceforge.net/
98 - PWM http://www.students.tut.fi/~tuomov/pwm/
99 - Golem http://golem.sourceforge.net/
101 Q) Can I set the initial size?
102 A) No. As far as I know, there is no dockapp which can be set the size.
104 Q) (How) Does WMCPULoad support SMP system?
105 A) WMCPULoad will probably work fine on an SMP system. However, it only displays
106 the usage statistics for the all CPUs. I may add the new command line option
107 (e.g. '--cpu <number>') to specify the CPU number. but this feature is the
108 bottom of my TODO list, since I do not have an SMP system.
109 -----------------------------------------------------------------------------
110 NOTE: WMCPULoad has '-c, --cpu' option since version 0.8.0. but it only works
111 on GNU/Linux. (Thanks to Laurent Raufaste for beta test)
112 -----------------------------------------------------------------------------
114 Q) Why is kamp-idled spending many CPU time on my GNU/Linux box?
115 A) kapm-idled executes HLT instructions to save power.
117 Stephen Rothwell (GNU/Linux APM maintainer) said:
118 "kapm-idled may do quite a lot more than just execute HLT instructions
119 depending on how smart the BIOS is about saving power. Unfortunately, some
120 BIOSs are pretty dumb and in some cases more power is consumed by having
121 CONFIG_APM_CPU_IDLE defined in your kernel build than by not."
122 -- from debian-devel mailing lists
124 '-p, --ignore-proc' option will help you. (e.g., wmcpuload -p kapm-idled)
129 Please send e-mail to wmaker-dev@googlegroups.com.
134 http://dockapps.net/wmcpuload