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
24 lines
1.3 KiB
Groff
24 lines
1.3 KiB
Groff
.SH "SUNOS 4 DIFFERENCES"
|
|
On multiprocessor machines, the amount of time the processors spend in
|
|
a spin lock is displayed along with the other processor state
|
|
percentages. The percentages shown for processor states are averages
|
|
across all processors. A process in run state also has its current
|
|
processor displayed in the STATE column, for example "run/2" indicates
|
|
running on processor 2. There is an extra column in the process
|
|
display indicating which processor each running process is assigned
|
|
to. Information about physical memory is displayed on the memory
|
|
status line, but information about virtual memory is not available.
|
|
|
|
Due to incompatabilities in kernel data structures, a top executable
|
|
compiled on a Sun 4 multiprocessor architecture machine (sun4m) will
|
|
not run correctly on a uniprocessor architecture machine (sun4), and
|
|
vice versa. You will have to compile and maintain separate executables
|
|
for these architectures. Yeah, I don't like it either.
|
|
|
|
Some processes may show up with a resident set size (RES column) larger
|
|
than total virtual memory size (SIZE column). This seems odd at first,
|
|
but is a consequence of shared libraries: shared memory is counted as
|
|
resident but is not counted in total size.
|
|
|
|
The SunOS 4 port was written by William LeFebvre.
|