| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The contrib/top code is no longer maintained upstream (last pulled 16 years
ago). The K&R-style followed by the code spews -Wimplicit-int and -Wreturn-type
warnings, amongst others. This silences 131 warnings with as little modification
as possible by adding necessary return types, definitions, headers, and header
guards, and missing header includes.
The 5 warnings that remain are due to undeclared ncurses references. I didn't
include curses.h and term.h because there are several local functions and macros
that conflict with those definitions.
MFC after: 3 weeks
Reviewed by: cem, ngie
Submitted by: Randy Westlund <rwestlun@gmail.com>
Differential Revision: https://reviews.freebsd.org/D6468
|
|
|
|
|
|
|
|
|
|
| |
display the JID as well (the -j command/flag).
0 displays host.
+ displays all.
MFC after: 2 weeks
Relnotes: yes
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
idle threads). The process is displayed by default (subject to whether or
not system processes are displayed) to preserve existing behavior. The
system idle process can be hidden via the '-z' command line argument or the
'z' key while top is running. When it is hidden, top more closely matches
the behavior of FreeBSD <= 4.x where idle time was not accounted to any
process.
MFC after: 2 weeks
|
|
|
|
| |
is redundant (I think it's a leftover from an older implementation).
|
| |
|
|
|
|
|
|
|
| |
it is written this way in jail(8).
Suggested by: brueffer
Approved by: delphij (mentor, implicit)
|
|
|
|
|
|
|
|
|
|
| |
each process.
- While I'm here, keep help message sorted by keys
PR: 98489, 98975
Submitted by: clsung
Approved by: delphij (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
command that toggles between the two and update the ORDER_PCTCPU()
macro to sort correctly by the visible "cpu" value.
This saves 6 more columns in 80-column terminals, making things a lot
better for the COMMAND column.
Tested on: i386, sparc64 (panther), amd64 (sledge)
Approved by: davidxu (in principle)
|
|
|
|
|
|
|
| |
process. Option -H enables it and it is toggled at the interactive
screen by 'H'.
Submitted by: Jung-uk Kim <jkim@niksun.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.
PR: 7253
Submitted by: Yours Truly
|
|
|
|
| |
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.
|