| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
usage on hosts using ZFS. The new line displays the total amount of RAM
used by the ARC along with the size of MFU, MRU, anonymous (in flight),
headers, and other (miscellaneous) sub-categories. The line is not
displayed on systems that are not using ZFS.
Reviewed by: avg, fs@
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
to the maximum number of CPUs to ensure that lcpustates[] array is always
allocated to the maximum size. Previously, if top was started without
per-CPU stats it would allocate a smaller lcpustates[] array. When
per-CPU stats were then enabled, it would overflow the array and trash
the cpustates_columns[] array causing the CPU stats to be printed in the
wrong locations.
Approved by: re (kib)
MFC after: 1 week
|
|
|
|
|
|
|
| |
While here, make -P a toggle similar to other options such as -I.
Reviewed by: arundel
MFC after: 1 week
|
|
|
|
| |
Requested by: jh
|
|
|
|
|
|
|
|
| |
rather than using a terminal sequence to move the cursor when drawing the
initial screen.
Requested by: arundel
MFC after: 3 days
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
onto it, which may have been used for rounding purposes in other utilities.
PR: bin/147934
Submitted by: Janne Snabb <snabb at epipe.com>
Approved by: rrs (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
that takes into account the width of the largest CPU ID. On systems with
> 10 CPUs the labels for the first 10 CPUs were not lined up properly
otherwise.
Approved by: re (kib)
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
trim_header() it.
Noticed by: bde
|
|
|
|
|
|
|
|
|
|
|
|
| |
have been noticed by running top(1) in terminals that are too narrow
(or on systems with usernames that were too long, pushing everything
too far to the right).
Note that this does *not* solve the wrap-around problem of the system
statistics, which is an entirely different matter :-/
Tested on: i386, sparc64 (panther), amd64 (sledge)
Approved by: davidxu (in principle)
|
|
|
|
|
|
|
|
|
| |
you can start it in a small window, but it doesn't always display
anything sensible. Resizing the window does work though.
The patch is a slightly simpler one than Sheldon's in the PR.
PR: 21075
|
| |
|
|
|
|
|
|
|
|
|
| |
top.c: fix from NetBSD/OpenBSD: make sure that new_message() is called
with a format.
Add $FreeBSD$ While I'm here.
These files are already off the vendor branch.
|
| |
|
|
|
|
|
| |
Submitted by: Andy Farkas <andyf@speednet.com.au>
Obtained from: freebsd-current list
|
|
|
|
| |
Obtained from: The ports collection.
|
|
the src/contrib/top part right now). This tools is simply too system-
dependant to maintain it in the ports collection.
|