summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Collapse)Author
2007-07-27size_t vs ssize_t error; spotted by zinovik@cs.karelia.ruTheo de Raadt
2007-07-27u_endscreen()'s argument is entirely unused; inspired by zinovik@cs.karelia.ruTheo de Raadt
2007-07-27replace a few more malloc(n*m) idioms with calloc(n,m) for safety;Theo de Raadt
inspired by zinovik@cs.karelia.ru
2007-07-16fix percentage computation of wrapping numbers; from Willem DijkstraOtto Moerbeek
via henning@ with a twist by me
2007-06-10clear to end of line at quit, needed for terms that do not restoreOtto Moerbeek
content on quiting curses mode, like screen. found and tested by ray@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29Instead of using hand-crafted redraws minimizing screen updates, use curses.Otto Moerbeek
Enables nice things like process highlighting without hurting the brain. ok deraadt@
2007-04-16don't truncate wchan, ok miod@Otto Moerbeek
2007-04-13include cleanup and fix in comment; from Mark LumsdenOtto Moerbeek
2007-04-04missing prototypes; from Mark Lumsden with a twist by me.Otto Moerbeek
2007-04-04unneeded include; -Wall -Wmissing-prototypes is happy; from Mark LumsdenOtto Moerbeek
2007-04-04garbage collect unused var ospeed; from Mark LumsdenOtto Moerbeek
2007-04-01tidy up usage(); partly from Mark LumsdenJason McIntyre
2007-03-30Remove some uneeded includes and declarations. -Wall is happy and noOtto Moerbeek
binary change. From Mark Lumsden.
2007-03-15make the description of command line options and interactiveJason McIntyre
commands more consistent; started by a diff from Mark Lumsden
2007-02-27an atoi() -> strtonum() conversion from Mark Lumsden; ok simon@ ray@Otto Moerbeek
2007-02-23Use sys_signame[] from libc instead of creating a top-specificTodd C. Miller
signame name to number table. Also use strcasecmp() when matching signal names for consistency with /bin/kill. OK deraadt@ henning@ simon@
2007-02-22an unused define and an unused decl. From Mark Lumsden.Otto Moerbeek
2007-02-14more refinements for the interactive commands section; ok ottoJason McIntyre
2007-02-13mark up `dumb' using .Em, to be consistent with an earlierJason McIntyre
mark up of `intelligent';
2007-02-13improve the description for -C;Jason McIntyre
started by a mail from Igor Sobrado; ok otto
2007-02-09document how signalling via `k' works, after some help from theo and miod;Jason McIntyre
2007-02-09sync somewhat to the man page;Jason McIntyre
started by a diff from Mark Lumsden
2007-02-09clean up the interactive commands list, mainly by showingJason McIntyre
the arguments these commands take; based on some improvements from Mark Lumsden
2007-02-06document the `+' interactive command more fully;Jason McIntyre
help/ok otto
2007-02-06Compact help screen a bit so it fits in 24 lines again. Based on aOtto Moerbeek
diff from Mark Lumsden.
2007-02-04Complain of the user specifies a negative number for the 's' command.Otto Moerbeek
From Mark Lumsden.
2007-02-04Introducing the '+' interactive command to reset all filters.Otto Moerbeek
From Mark Lumsden. ok millert@ deraadt@ simon@
2007-02-04actully use a default value when we say so. from Mark LumsdenOtto Moerbeek
2007-02-04long and long long is not the same on 32 bits archsOtto Moerbeek
2007-01-10- use .Sq for single characters, rather than .DqJason McIntyre
- zap trailing whitespace
2007-01-05tidy & sort help displayOtto Moerbeek
2007-01-05add new g command to interactive help; from Mark LumsdenOtto Moerbeek
2007-01-03Missing 'T' in interactive command list. From Mark Lumsden.Otto Moerbeek
2007-01-03Add a 'g' command to only show processes having a string in theirOtto Moerbeek
command name. ok deraadt@
2007-01-02top(1) doesn't use any math.h function, so do not include math.h andOtto Moerbeek
do not link with libm. ok ray@
2006-12-27Also provide 'C' as a command line arg. From Mark Lumsden <mark at cyodesignsOtto Moerbeek
dot com>.
2006-11-29Do not test for processes being swapped out since this can't happen anymore.Miod Vallat
2006-09-20Recommit memory leak fix.Ray Lai
2006-04-29use calloc(3) instead of malloc(3) to allocate cpu state structs; it'sOtto Moerbeek
better style here; plus it prevents bogus data to show up on first display. report + ok pedro@
2006-03-04Show the CPU state %'s on first display as well. "looks good" deraadt@Otto Moerbeek
2006-03-04Handle signals in non-interactive mode. "looks good" deraadt@Otto Moerbeek
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-12-05oops: forgot to remind tedu to add -T to SYNOPSIS too...Jason McIntyre
2005-12-04support for toggling thread viewing.Ted Unangst
ok brad, hints from jmc
2005-10-07sync help message with reality: sort acceptes keyword "pri"Hans-Joerg Hoexer
ok deraadt@
2005-09-06pesky comma;Jason McIntyre
2005-09-06make some of the stat utility pages reference each other;Jason McIntyre
idea from a mail to misc@ from simon dassow;
2005-07-01NUL-terminate the screen buffer in u_process(), since it is passed toJared Yanovich
strlen() in line_buffer() (requires allocating an extra byte for it). from markus, ok deraadt
2005-06-17replace hardcoded 128 with MAX_COLS (now 256)Markus Friedl