
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
11 lines
331 B
Makefile
11 lines
331 B
Makefile
# Special rules for making 32-bit and 64-bit binaries on a sunos5 x86 box
|
|
all: i386/top amd64/top
|
|
-cp -f /usr/lib/isaexec top
|
|
|
|
i386/top: $(SRC) $(INC)
|
|
cd i386; $(MAKE) -f ../Makefile VPATH=.. srcdir=.. \
|
|
BINARY=./top ARCHFLAG= top
|
|
|
|
amd64/top: $(SRC) $(INC)
|
|
cd amd64; $(MAKE) -f ../Makefile VPATH=.. srcdir=.. BINARY=./top top
|