
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
21 lines
1.0 KiB
Groff
21 lines
1.0 KiB
Groff
.SH "MacOS X NOTES"
|
|
The display is pretty close to the recommended display and also that
|
|
of a normal 4.4 BSD system. The NICE column has been changed to be
|
|
the number of threads for each process. The SIZE column reflects the
|
|
total size of the process (resident + non-resident) while the RES
|
|
column shows only the resident size. The STATE column uses
|
|
information taken from the kinfo_proc structure p_pstat member. It
|
|
will accurately display the state of stopped and zombie processes, but
|
|
I am not really sure about the other states. Finally, the MEM column
|
|
is included which displays the percent of total memory per the ps
|
|
command.
|
|
|
|
The MacOS X module was written by Andrew S. Townley <atownley@primenet.com>.
|
|
Many thanks to William LeFebvre who is the original author
|
|
of the top utility and to Mike Rhee who showed the utility
|
|
to me in the first place. Thanks also to Christos Zoulas
|
|
who wrote the 4.4 BSD implementation of the machine module.
|
|
I also got some pointers from the NEXTSTEP 3.2 and OSF/1
|
|
versions by Tim Pugh and Anthony Baxter, respectively.
|
|
|