Due to differences in (mainly) measuring and accumulating CPU times, the two top programs end up serving different purposes: the NetBSD top is a system administration tool, while the MINIX3 top (now mtop) is a performance debugging tool. Therefore, we keep both. The newly imported BSD top has a few MINIX3-specific changes. CPU statistics separate system time from kernel time, rather than kernel time from time spent on handling interrupts. Memory statistics show numbers that are currently relevant for MINIX3. Swap statistics are disabled entirely. All of these changes effectively bring it closer to how mtop already worked as well. Change-Id: I9611917cb03e164ddf012c5def6da0e7fede826d
55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
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.
|