Commit Graph

37 Commits

Author SHA1 Message Date
alfred
38639d188e document the 'I' and 't' commands in the help screen in top(1).
Submitted by: Alex Vasylenko lxv omut.org
2004-07-12 15:22:44 +00:00
alfred
e03503ad34 Make 'S' in interactive mode toggle display of system processes. 2004-07-12 03:00:50 +00:00
keramida
a4946f8211 Build upon the nice work of Alfred and add sorting capabilities to
the -m "io" mode of top.

Approved by:	alfred
2004-07-08 16:45:55 +00:00
des
541c3c8b8b Correct a misleading (cut'n'pasted) comment. 2004-07-05 12:19:53 +00:00
alfred
a3ca6951ac New feature, provide a display that shows the amount of IO processes
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.
2004-07-01 09:12:38 +00:00
eivind
618c940b10 Replace a reference to /kernel with /boot/kernel/kernel 2003-08-26 15:37:19 +00:00
julian
cb037ac9c6 Changes to allow top to decide whether or not to show multiple threads per
process. Option -H enables it and it is toggled at the interactive
screen by 'H'.

Submitted by:	Jung-uk Kim <jkim@niksun.com>
2003-07-17 23:56:40 +00:00
dwmalone
119249c1e2 Fix a bug where you couldn't start top in a very small window. Now
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
2002-08-11 18:37:25 +00:00
mike
2becf31ee5 Don't depend on <pwd.h> to bogusly include <sys/types.h>. 2002-06-09 19:29:55 +00:00
dwmalone
3343c2d4bb Resolve conflicts. 2002-01-24 17:58:42 +00:00
dwmalone
bd3d45eaa9 Resolve conflicts (our -t option, we'd fixed a bug in a slightly different way). 2002-01-24 17:55:40 +00:00
dwmalone
36a93d7eea Resolve conflicts (we have a -t option). 2002-01-24 17:54:04 +00:00
dwmalone
93e8780b88 Resolve conflict: We made a fix renaming a structure member error,
but it was renamed errnum on the vendor branch.
2002-01-24 17:52:26 +00:00
dwmalone
95de7dd522 This commit was generated by cvs2svn to compensate for changes in r89750,
which included commits to RCS files with non-trunk default branches.
2002-01-24 17:24:16 +00:00
dwmalone
6d85e91806 import top_3_5beta12 2002-01-24 17:24:16 +00:00
dwmalone
92c1bc18fb Make top exit if its tty vanishes.
PR:		30939, 30581
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Submitted by: 	Andrew L. Neporada <andr@dgap.mipt.ru>
MFC after:	2 weeks
2001-11-04 21:15:52 +00:00
kris
a57beb7dc6 Don't do unsafe activities inside signal handlers. Just set a flag and
return.

Obtained from:	OpenBSD
Reviewed by:	audit
2001-08-06 03:19:22 +00:00
imp
c4b431fb58 Fix another possible bufer overflow in top.
PR: bin/22496
2000-11-03 22:00:10 +00:00
imp
ccf7eb43ef display.c: sprintf -> snprintf
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.
2000-10-04 23:34:16 +00:00
peter
317a29b345 Don't declare ospeed as a common - and it happens to be incorrect as well.
top doesn't use it and it causes a linker warning.
2000-09-16 19:36:18 +00:00
phantom
96e2548f11 Correct default value for -s option.
PR:           bin/12946
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
2000-07-20 13:27:58 +00:00
obrien
71ee92a055 uptime display more in style with original code 1999-01-09 20:25:02 +00:00
obrien
7fe5005336 Display uptime in upper right corner.
Submitted by:	Andy Farkas <andyf@speednet.com.au>
Obtained from:	freebsd-current list
1998-12-19 20:09:20 +00:00
dfr
fad527cee1 Port top to the alpha.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-11-25 09:45:28 +00:00
des
53a13012b5 Add missing .TP in "INTERACTIVE MODE" section. 1998-08-12 10:38:37 +00:00
wosch
dbdb393361 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
des
75a0abfaae Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR:		7253
Submitted by:	Yours Truly
1998-08-04 14:10:48 +00:00
bde
0ea85390b1 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
bde
d41c4c7c4f Declared version_string() properly (1970's style). 1998-07-06 20:40:57 +00:00
steve
86a63ea272 vmunix -> kernel
PR:		5484
Submitted by:	Vasily V. Grechishnikov <bazilio@ns1.ied-vorstu.ac.ru>
1998-01-13 14:17:10 +00:00
jb
e9a57d54b9 Reviewed by: William LeFebvre <wnl@groupsys.com>
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-)
1997-12-22 19:39:20 +00:00
imp
67ce829aa2 Buffer overflow from bitblt's commit to OpenBSD. Committed here for lack
of a better place to do it.

Reviewed by:	joerge
Obtained from: OpenBSD
1997-12-04 02:54:05 +00:00
wosch
07b6e5147d spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
jmg
fe87b6f70d fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
ache
f3810d46d9 Use UT_NAMESIZE instead of hardcoded user names length 1997-04-21 13:52:29 +00:00
joerg
1ffba2bb67 Apply the FreeBSD-local patches.
Obtained from:	The ports collection.
1997-03-23 18:53:01 +00:00
joerg
1b9d0472b7 This is the long-awaited import of top into the base system (actually,
the src/contrib/top part right now).  This tools is simply too system-
dependant to maintain it in the ports collection.
1997-03-23 18:51:21 +00:00