aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
blob: fe99ffeecde3c613524f6c530506a13b837291f1 (plain) (blame)
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
                             TOP
                       Version 3.8beta1

                       William LeFebvre
		      and a cast of many

INSTALLATION

Configuration and installation of top is easy.  Top version 3.6
comes with a configure script generated by gnu autoconf.  After
unpacking the tar file, simply run "./configure".  The script will
automatically perform a series of checks on the system and determine
what settings are appropriate for the Makefile and certain include
files.  Once configure completes, simply type "make install" and
top will be compiled and installed.  By default, the installation
location is /usr/local/bin.  You can change the destination location
with the --prefix option to configure.

In addition to the standard options, top's configure script supports
the following:

    --with-module=name

	Force the use of a particular module.  Modules are located
	in the subdirectory "machine".  A module's name is derived
	from the file's basename without the leading "m_".

    --with-ext=name

	Compile with the extension "name", found in the subdirectory
	"ext". At the present time, there are no extensions in the
	standard distribution.

    --enable-debug
    --disable-debug

	Default off. Include debugging output in the compilation,
	which can be seen with the -D switch.

    --enable-color
    --disable-color

	Default on.  Include code that allows for the use of color
	in the output display.  Use --disable-color if you do not
	want this feature compiled in to the code.  The configure
	script also recognizes the spelling "colour".

    --enable-kill
    --disable-kill

	Default on.  Include code that allows for renicing and sending
	signals to processes from within top (the 'kill' and 'renice'
	commands). Use --disable-kill if you do not want this feature
	compiled in to the code.