summaryrefslogtreecommitdiffstats
path: root/contrib/top
Commit message (Collapse)AuthorAgeFilesLines
* The 'text' argument of u_header() is not used, so we don't need tokeramida2005-05-191-6/+0
| | | | | | trim_header() it. Noticed by: bde
* Properly trim the header line too, to fix wrap-around problems thatkeramida2005-05-181-1/+41
| | | | | | | | | | | | 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)
* Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C'keramida2005-05-183-7/+24
| | | | | | | | | | | 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-142-4/+6
| | | | | | | | | 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>
* Correct macro usage.brueffer2005-03-131-1/+1
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> MFC after: 3 days
* This patch merges the sort fields for both pages, so you can (foralfred2004-08-162-7/+3
| | | | | | | | 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-123-3/+11
|
* Build upon the nice work of Alfred and add sorting capabilities tokeramida2004-07-082-6/+13
| | | | | | the -m "io" mode of top. Approved by: alfred
* Correct a misleading (cut'n'pasted) comment.des2004-07-051-1/+1
|
* New feature, provide a display that shows the amount of IO processesalfred2004-07-013-10/+55
| | | | | | 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.
* Replace a reference to /kernel with /boot/kernel/kerneleivind2003-08-261-1/+1
|
* Changes to allow top to decide whether or not to show multiple threads perjulian2003-07-173-5/+20
| | | | | | | process. Option -H enables it and it is toggled at the interactive screen by 'H'. Submitted by: Jung-uk Kim <jkim@niksun.com>
* Fix a bug where you couldn't start top in a very small window. Nowdwmalone2002-08-111-0/+2
| | | | | | | | | 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
* Don't depend on <pwd.h> to bogusly include <sys/types.h>.mike2002-06-091-0/+3
|
* Resolve conflicts.dwmalone2002-01-243-10/+40
|
* Resolve conflicts (our -t option, we'd fixed a bug in a slightly different way).dwmalone2002-01-241-13/+38
|
* Resolve conflicts (we have a -t option).dwmalone2002-01-241-2/+14
|
* 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.
* This commit was generated by cvs2svn to compensate for changes in r89750,dwmalone2002-01-2415-197/+494
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * import top_3_5beta12dwmalone2002-01-2421-228/+585
| |
* | Make top exit if its tty vanishes.dwmalone2001-11-041-2/+8
| | | | | | | | | | | | | | PR: 30939, 30581 Submitted by: Edwin Groothuis <edwin@mavetju.org> Submitted by: Andrew L. Neporada <andr@dgap.mipt.ru> MFC after: 2 weeks
* | Don't do unsafe activities inside signal handlers. Just set a flag andkris2001-08-061-44/+54
| | | | | | | | | | | | | | return. Obtained from: OpenBSD Reviewed by: audit
* | Fix another possible bufer overflow in top.imp2000-11-031-1/+1
| | | | | | | | PR: bin/22496
* | display.c: sprintf -> snprintfimp2000-10-042-2/+6
| | | | | | | | | | | | | | | | | | 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.
* | Don't declare ospeed as a common - and it happens to be incorrect as well.peter2000-09-161-1/+2
| | | | | | | | top doesn't use it and it causes a linker warning.
* | Correct default value for -s option.phantom2000-07-201-1/+2
| | | | | | | | | | PR: bin/12946 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
* | uptime display more in style with original codeobrien1999-01-093-42/+37
| |
* | Display uptime in upper right corner.obrien1998-12-191-0/+43
| | | | | | | | | | Submitted by: Andy Farkas <andyf@speednet.com.au> Obtained from: freebsd-current list
* | Port top to the alpha.dfr1998-11-251-1/+1
| | | | | | | | Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* | Add missing .TP in "INTERACTIVE MODE" section.des1998-08-121-0/+1
| |
* | Merge from stable: support for the o, order, commandwosch1998-08-121-1/+1
| |
* | Add -t option ('t' in interactive mode) to make top(1) ignore itself.des1998-08-043-7/+32
| | | | | | | | | | | | | | | | Attempts to contact the author of top(1) (William LeFebvre) have so far been unsuccessful. PR: 7253 Submitted by: Yours Truly
* | Fixed printf format errors.bde1998-07-061-1/+2
| |
* | Declared version_string() properly (1970's style).bde1998-07-061-0/+1
| |
* | vmunix -> kernelsteve1998-01-131-1/+1
| | | | | | | | | | PR: 5484 Submitted by: Vasily V. Grechishnikov <bazilio@ns1.ied-vorstu.ac.ru>
* | 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-)
* | Buffer overflow from bitblt's commit to OpenBSD. Committed here for lackimp1997-12-041-2/+5
| | | | | | | | | | | | | | of a better place to do it. Reviewed by: joerge Obtained from: OpenBSD
* | spelling corrections.wosch1997-09-131-1/+1
| | | | | | | | | | PR: docs/4450 Submitted by: josh@quick.net
* | fix a few spelling changesjmg1997-08-301-1/+1
| | | | | | | | | | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author.
* | Use UT_NAMESIZE instead of hardcoded user names lengthache1997-04-211-2/+3
| |
* | Apply the FreeBSD-local patches.joerg1997-03-237-17/+107
|/ | | | Obtained from: The ports collection.
* This is the long-awaited import of top into the base system (actually,joerg1997-03-2336-0/+7017
the src/contrib/top part right now). This tools is simply too system- dependant to maintain it in the ports collection.
OpenPOWER on IntegriCloud