1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
WMCPULoad - A dockapp to monitor CPU usage
General Information
===================
WMCPULoad is a program to monitor CPU usage. It is a dockapp that is supported
by X window managers such as Window Maker, AfterStep, BlackBox, and
Enlightenment.
It displays the current usage, expressed as a percentile and a chart, and has an
LCD look-alike user interface. The back-light may be turned on/off by clicking
the mouse button over the application. If the CPU usage hits a certain
threshold, an alarm-mode will alert you by turning back-light on.
It runs under GNU/Linux / FreeBSD / OpenBSD / Solaris / Cygwin.
Installation
============
See the file 'INSTALL' for instructions.
Copyright
=========
GPL applies all portions of the code I wrote. Please see COPYING file.
Usage
=====
$ wmcpuload [OPTIONS]
-d, --display <string> display to use
-bl, --backlight turn on back-light
-lc, --light-color <color> back-light color (rgb:6E/C6/3B is default)
-i, --interval <number> number of secs between updates (1 is default)
-c, --cpu <number> CPU number (0, 1, ...)
-n, --ignore-nice ignore a nice value
-p, --ignore-proc <name><...> ignore all processes specified by command name
-h, --help show this help text and exit
-v, --version show program version and exit
-w, --windowed runs the application in windowed mode
-bw, --broken-wm activate broken window manager fix
-a, --alarm <percentage> activate alarm mode. <percentage> is threshold
of percentage from 0 to 100.(90 is default)
NOTES:
- '-n, --ignore-nice' option is activated under GNU/Linux / FreeBSD / OpenBSD.
- '-p, --ignore-proc' option is activated under GNU/Linux.
- '-c, --cpu' option is activated under GNU/Linux.
For AfterStep users
===================
Add below entry to your Wharf
*Wharf wmcpuload - Swallow "wmcpuload" wmcpuload -w &
For Enlightenment users
=======================
Use '-bw, --broken-wm' option.
Frequently Asked Questions
==========================
Q) What window managers support the dockapp?
A) - Window Maker http://www.windowmaker.org/
- AfterStep http://www.afterstep.org/
- Blackbox http://blackbox.alug.org/
- Enlightenment http://www.enlightenment.org/
- Fluxbox http://fluxbox.sourceforge.net/
- PWM http://www.students.tut.fi/~tuomov/pwm/
Q) Can I set the initial size?
A) No. As far as I know, there is no dockapp which can be set the size.
Q) (How) Does WMCPULoad support SMP system?
A) WMCPULoad will probably work fine on an SMP system. However, it only displays
the usage statistics for the all CPUs. I may add the new command line option
(e.g. '--cpu <number>') to specify the CPU number. but this feature is the
bottom of my TODO list, since I do not have an SMP system.
-----------------------------------------------------------------------------
NOTE: WMCPULoad has '-c, --cpu' option since version 0.8.0. but it only works
under GNU/Linux. (Thanks to Laurent Raufaste for beta test)
-----------------------------------------------------------------------------
Q) Why is kamp-idled spending many CPU time on my GNU/Linux box?
A) kapm-idled executes HLT instructions to save power.
Stephen Rothwell (GNU/Linux APM maintainer) said:
"kapm-idled may do quite a lot more than just execute HLT instructions
depending on how smart the BIOS is about saving power. Unfortunately, some
BIOSs are pretty dumb and in some cases more power is consumed by having
CONFIG_APM_CPU_IDLE defined in your kernel build than by not."
-- from debian-devel mailing lists
'-p, --ignore-proc' option will help you. (e.g.) wmcpuload -p kapm-idled
Bug reports
===========
Please send e-mail to ssato@sh.rim.or.jp.
URL
===
http://www.sh.rim.or.jp/~ssato/dockapp/index.shtml#wmcpuload
|