Commit Graph

17 Commits

Author SHA1 Message Date
itojun ccbbb1b94c fix comment; FD_SET is not used any longer 2003-08-20 03:35:38 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
mycroft aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun 6248b5281d poll.h, not sys/poll.h 2002-09-23 03:29:10 +00:00
mycroft 05abee23d9 select() -> poll(), nanosleep() 2002-09-19 16:45:57 +00:00
itojun 72b53650e0 copyright cleanup from openbsd (thanks!)
>license change from William LeFebvre <wnl@groupsys.com>; top is now BSD
>licensed.  this same license will show up on his next release as well.
2002-07-16 00:40:51 +00:00
thorpej b9145634cd Update top(1) for new UVM/UBC counters.
bin/16020, Tomas Svensson <tsn@gbdev.net>
2002-03-23 01:28:10 +00:00
wiz c384a41e3f Turn -S (display of system processes) on by default.
If they are using so much CPU that they would be in the top 10 (or so)
they should be shown. Ok'd by christos.
2001-06-21 21:27:50 +00:00
christos 6008bb4486 add a command ('S') to toggle display of system processes.
It is annoying to have to quit and use top -S to toggle.
2001-06-20 19:56:35 +00:00
christos 3eced62df6 bring in fixes from beta12:
- better error checking for read/write failures
	- new install/configure/Makefile and support scripts (we don't use)
	- don't allow 0 delay for non-root accounts
XXX: Someone needs to coordinate to feed back our prototype fixes to Jeff!
2001-05-22 15:38:22 +00:00
abs 5416ac320c if the read() on stdin for a command fails, exit.
This stops top ending up in an infinite cpu churning loop if the tty detaches,
or if something similar to 'top < /dev/null' is run.
2001-04-12 14:10:05 +00:00
mjl b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
itojun 194446c648 plug possible printf string format issue. seen on openbsd mailing list 2000-10-04 17:58:44 +00:00
ross 6db2f53d21 If we absolutely must have this program in the tree, it needs to have
rcs id keywords.
1999-04-12 06:02:25 +00:00
christos a141f7b23c WARNSify 1999-03-24 11:57:08 +00:00
simonb c14394d4ec Add patches (via Christos) based on pkgsrc contents. (These have been
forwarded to the top maintener.)
1999-02-15 03:55:00 +00:00
simonb 5f3bd0f103 Import top 3.5beta9 1999-02-14 23:54:06 +00:00