Rename top(1) to mtop(1), import NetBSD top(1)54/3254/2
commitb89261ba018da33f0bd8cd05f5a1fe9e7a9c837b
authorDavid van Moolenbroek <david@minix3.org>
Sun, 8 Nov 2015 11:29:53 +0000 (8 11:29 +0000)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Wed, 13 Jan 2016 19:32:53 +0000 (13 20:32 +0100)
tree71631739a647484f0c004adbf6ce5ba80fbdfdfc
parent97189037b1c31a92749a06453951cb811bee1eb0
Rename top(1) to mtop(1), import NetBSD top(1)

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
91 files changed:
distrib/sets/lists/minix-base/mi
distrib/sets/lists/minix-man/mi
external/bsd/Makefile
external/bsd/top/Makefile [new file with mode: 0644]
external/bsd/top/bin/Makefile [new file with mode: 0644]
external/bsd/top/bin/config.h.in [new file with mode: 0644]
external/bsd/top/dist/Changes [new file with mode: 0644]
external/bsd/top/dist/FAQ [new file with mode: 0644]
external/bsd/top/dist/INSTALL [new file with mode: 0644]
external/bsd/top/dist/LICENSE [new file with mode: 0644]
external/bsd/top/dist/Makefile.in [new file with mode: 0644]
external/bsd/top/dist/Porting [new file with mode: 0644]
external/bsd/top/dist/README [new file with mode: 0644]
external/bsd/top/dist/Y2K [new file with mode: 0644]
external/bsd/top/dist/ap_snprintf.c [new file with mode: 0644]
external/bsd/top/dist/boolean.h [new file with mode: 0644]
external/bsd/top/dist/color.c [new file with mode: 0644]
external/bsd/top/dist/color.h [new file with mode: 0644]
external/bsd/top/dist/commands.c [new file with mode: 0644]
external/bsd/top/dist/commands.h [new file with mode: 0644]
external/bsd/top/dist/config.amd64.make [new file with mode: 0644]
external/bsd/top/dist/config.amd64.makeinstall [new file with mode: 0644]
external/bsd/top/dist/config.default.makeinstall [new file with mode: 0644]
external/bsd/top/dist/config.guess [new file with mode: 0755]
external/bsd/top/dist/config.h.in [new file with mode: 0644]
external/bsd/top/dist/config.sparcv9.make [new file with mode: 0644]
external/bsd/top/dist/config.sparcv9.makeinstall [new file with mode: 0644]
external/bsd/top/dist/config.sub [new file with mode: 0755]
external/bsd/top/dist/configure [new file with mode: 0755]
external/bsd/top/dist/configure.ac [new file with mode: 0644]
external/bsd/top/dist/display.c [new file with mode: 0644]
external/bsd/top/dist/display.h [new file with mode: 0644]
external/bsd/top/dist/getopt.c [new file with mode: 0644]
external/bsd/top/dist/globalstate.h [new file with mode: 0644]
external/bsd/top/dist/hash.c [new file with mode: 0644]
external/bsd/top/dist/hash.h [new file with mode: 0644]
external/bsd/top/dist/hash.m4c [new file with mode: 0755]
external/bsd/top/dist/hash.m4h [new file with mode: 0755]
external/bsd/top/dist/install-sh [new file with mode: 0755]
external/bsd/top/dist/layout.h [new file with mode: 0644]
external/bsd/top/dist/loadavg.h [new file with mode: 0644]
external/bsd/top/dist/machine.h [new file with mode: 0644]
external/bsd/top/dist/machine/m_aix43.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_aix5.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_decosf1.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_decosf1.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_freebsd.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_freebsd.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_hpux10.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_hpux10.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_hpux7.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_hpux8.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_hpux9.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_hpux9.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_irix5.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_irixsgi.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_linux.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_linux.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_linuxthr.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_linuxthr.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_macosx.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_macosx.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_netbsd.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_netbsd.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_sco5.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_sco5.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_sunos4.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_sunos4.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_sunos5.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_sunos5.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_svr4.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_svr4.man [new file with mode: 0644]
external/bsd/top/dist/machine/m_svr5.c [new file with mode: 0644]
external/bsd/top/dist/machine/m_svr5.man [new file with mode: 0644]
external/bsd/top/dist/message.h [new file with mode: 0644]
external/bsd/top/dist/os.h [new file with mode: 0644]
external/bsd/top/dist/screen.c [new file with mode: 0644]
external/bsd/top/dist/screen.h [new file with mode: 0644]
external/bsd/top/dist/sigconv.awk [new file with mode: 0644]
external/bsd/top/dist/top.1.in [new file with mode: 0644]
external/bsd/top/dist/top.c [new file with mode: 0644]
external/bsd/top/dist/top.h [new file with mode: 0644]
external/bsd/top/dist/username.c [new file with mode: 0644]
external/bsd/top/dist/username.h [new file with mode: 0644]
external/bsd/top/dist/utils.c [new file with mode: 0644]
external/bsd/top/dist/utils.h [new file with mode: 0644]
external/bsd/top/dist/version.c [new file with mode: 0644]
external/bsd/top/dist/version.h [new file with mode: 0644]
minix/usr.bin/Makefile
minix/usr.bin/mtop/Makefile [moved from minix/usr.bin/top/Makefile with 81% similarity]
minix/usr.bin/mtop/mtop.c [moved from minix/usr.bin/top/top.c with 100% similarity]