File: README

package info (click to toggle)
wmtop 0.85-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 192 kB
  • ctags: 66
  • sloc: ansic: 648; makefile: 16
file content (73 lines) | stat: -rw-r--r-- 2,377 bytes parent folder | download
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
Introduction
------------

Wmtop maintains a view of the 3 top CPU (or memory) consuming
processes displaying the amount of CPU used as a horizontal bar.
Very useful for spotting those rogue Netscape processes!

To compile:
Type 'autoreconf -fvi', './configure', and 'make'.

(Note that in previous versions, you had to indicate 'make linux' or 'make
freebsd' -- this is now taken care of by ./configure.)

To install:
If you are superuser type 'make install'

Instructions
------------

Invoke wmtop using the command 'wmtop'

Use -display and -geometry options in the usual way.

Use the command line option '-s <time in milliseconds>' to control the
frequency of sampling of the processes and '-r <time in milliseconds>' to
control how often the display is updated.

Use -U to watch only your own processes rather than all of them. While
running, a middle mouse click changes between the display of user processes
and all processes.

Use -x <regexp> to exclude processes whose name matches a given pattern
from the list.

Use -m to display physical memory usage instead of CPU, but is currently
only supported under Linux. While running, a left mouse click changes
between cpu and memory display.

Use -c 'command' to have a command executed when you right click on wmtop.
For example you could launch a window with the real 'top' command for a closer
look at a rogue process.

Use -a <1..X> to choose a theme for wmtop.

Example
-------

wmtop -U -x '^wm' -c "xterm -e top"

Means list my own processes that are not dockapps. Launch top on a right
click.

Caveats
-------
As far as I know this only works under Linux or FreeBSD with a
/proc filesystem. Tested by me under Linux 2.2.5 and FreeBSD 3.2
(PAO) and FreeBSD 4.0 on a Sony Vaio 505TX. Reportedly works also
on other platforms including various combnations of Linux and
FreeBSD on Intel and Alpha CPU machines. See TODO file for information
about porting progress.

Credits
-------

I have liberally borrowed code from wmsysmon by Dave Clark. Thanks!

Thanks to Cyrille Mars (mailto:cmars@club-internet.fr) for some
new pixmaps and beta testing.
Thanks to Thomas C Sobczyns for beta testing (mailto:tcs@mit.edu).
Thanks to Brian Servis (mailto:servis@purdue.edu) for improvements to the
Makefile (that I have since ruined...).
Thanks to Alan Swanson (mailto:swanson@uklinux.net) for some bugfixes and
improvements.