- s/jail id/jail ID/, acronyms should be in uppercase in general. Also,
it is written this way in jail(8).
Suggested by: brueffer
Approved by: delphij (mentor, implicit)
* top.X
revision 1.15
Document the -C option of top(1), which has been added to the source
and the usage message of top, but not to the manpage.
Pointy hat to: keramida
Reminded by: ru
MFC after: 1 week
* top.c
revision 1.18
Bring SYNOPSIS in line with usage().
----------
revision 1.19
Re-add option -C to usage().
Approved by: re (hrs)
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)
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)
threads a process has. The THR column is disabled and disappears
when 'H' is hit, because then every thread gets its own output line.
- Allow sorting processes by "threads".
Approved by: davidxu
Inspired by: Jiawei Ye <leafy7382@gmail.com>
example) view io stats while sorting by process size. Also adds
voluntary and involuntary context-switch stats to the io page because
there was lots of room.
Submitted by: Dan Nelson dnelson at allantgroup.com
are doing. Toggle this mode by hitting "m" or passing the command line
option "-m io" to top(1). This allows one to identify disk bandwidth
hogs much easier.
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.
Change errno -> error in local structure to avoid a clash with the
thread-aware version of errno which is required for a thread-safe libc.
Have discussed this with the author and he has agreed to this change. 8-)