summaryrefslogtreecommitdiffstats
path: root/contrib/top/commands.c
Commit message (Collapse)AuthorAgeFilesLines
* - s/jail id/jail ID/, acronyms should be in uppercase in general. Also,rafan2007-05-041-1/+1
| | | | | | | it is written this way in jail(8). Suggested by: brueffer Approved by: delphij (mentor, implicit)
* - Add documentation notes for the 'a' option, forgotten in the previousstas2007-05-031-0/+1
| | | | | | | | | commit. commands.c [1] top.X Suggested by: rafan [1]
* - Add a new 'j' switch and runtime option to toggle display jail id forrafan2007-04-171-1/+2
| | | | | | | | | | 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
* Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C'keramida2005-05-181-0/+1
| | | | | | | | | | | 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)
* - Add a THR column to the process listing, that shows the number ofkeramida2005-04-141-1/+1
| | | | | | | | | 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>
* This patch merges the sort fields for both pages, so you can (foralfred2004-08-161-1/+1
| | | | | | | | 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
* document the 'I' and 't' commands in the help screen in top(1).alfred2004-07-121-2/+3
| | | | Submitted by: Alex Vasylenko lxv omut.org
* Make 'S' in interactive mode toggle display of system processes.alfred2004-07-121-0/+1
|
* Build upon the nice work of Alfred and add sorting capabilities tokeramida2004-07-081-1/+5
| | | | | | the -m "io" mode of top. Approved by: alfred
* Changes to allow top to decide whether or not to show multiple threads perjulian2003-07-171-0/+1
| | | | | | | process. Option -H enables it and it is toggled at the interactive screen by 'H'. Submitted by: Jung-uk Kim <jkim@niksun.com>
* Resolve conflict: We made a fix renaming a structure member error,dwmalone2002-01-241-6/+8
| | | | but it was renamed errnum on the vendor branch.
* Merge from stable: support for the o, order, commandwosch1998-08-121-1/+1
|
* Declared version_string() properly (1970's style).bde1998-07-061-0/+1
|
* Reviewed by: William LeFebvre <wnl@groupsys.com>jb1997-12-221-6/+6
| | | | | | | 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-)
* This is the long-awaited import of top into the base system (actually,joerg1997-03-231-0/+509
the src/contrib/top part right now). This tools is simply too system- dependant to maintain it in the ports collection.
OpenPOWER on IntegriCloud