summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Collapse)Author
2010-02-05Header_lines always has the same value as y_procs; so zap the former;Otto Moerbeek
from Mark Lumsden.
2010-01-29Allow sorting by command and pid. Also, allow partial matches with strncmp.Ted Unangst
ok jmc otto
2009-12-22add `1' to the interactive command list too; from Mark LumsdenJason McIntyre
2009-12-22add -1 to show_help(); from Mark LumsdenJason McIntyre
2009-12-10better wording for 1 option from jmcTed Unangst
2009-12-10add an option '1' to display all cpu stats combined. helps save spaceTed Unangst
with increasing processor counts. ok deraadt (kettenis otto)
2009-07-22enter_user() is only called in one way, rendering the third parameterTheo de Raadt
useless; from mark@cyodesigns.com
2009-07-18restore -S as toggle;Jason McIntyre
from Mark Lumsden ok oga
2009-06-04with -d1, switch interactive mode off, so the screen isn't restoredStuart Henderson
immediately afterwards on a smart terminal. found by claudio@. "I like that diff" deraadt "yes please!" phessler "I think that makes sense" claudio
2009-04-28extend STATE column to fit > 9 cpus; Aivar Jaakson; PR6131Theo de Raadt
2008-09-24remove unused functionCharles Longeau
from tobias@ ok otto@ tobias@
2008-04-02using getpwent() in a loop is so 1980; ok millertTheo de Raadt
2007-11-30Simplify process header display logic a bit. From Mark LumsdenOtto Moerbeek
2007-11-29fix small glitch in displaying process list header; from Mark LumsdenOtto Moerbeek
2007-11-27use symbolic constant 'Infinity' instead of -1 where appropriate; fromOtto Moerbeek
Mark Lumsden
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
make sure command line args and interactive reading of numbers use the same code. More concrete, interactive use of 'd' and 'n' now also interpret 'max', 'infinite' and 'all' and handle non-numbers correctly. tested by a few
2007-11-17oops - fix dodgy -width specifier too;Jason McIntyre
2007-11-17talk about "user" consistently; from Mark LumsdenJason McIntyre
2007-11-06prevent segv on wrong sort name; Mark Lumsden.Otto Moerbeek
2007-11-04Also show warning message for -U and -p in message area; noted by MarkOtto Moerbeek
Lumsden
2007-11-04Get rid of the very annoying warning message + delay when a commandOtto Moerbeek
line argument is wrong. Just display the message in the message area. ok deraadt@ sobrado@ simon@ henning@
2007-11-01make check on -s and interactive s consistent; from Tilo StritzkyOtto Moerbeek
2007-11-01bump arbitrary limit on arg length shown by -C; requested by and ok deraadt@Otto Moerbeek
2007-11-01cleanup of message handling, originally from Mark Lumsden, with aOtto Moerbeek
twist by me. ok deraadt@
2007-10-16Properly adjust headers displayed when the screen contains few lines.Otto Moerbeek
Avoid a segv also. Problem reported by Mark Lumsden; inital diff by me, further polishing by Mark. Tested by ray@ canacar@ hshoexer@
2007-10-04only init screen when in interactive mode; ok ray@Otto Moerbeek
2007-10-01typos in comment; from Pierre RiteauOtto Moerbeek
2007-09-30unused static var; from Mark LumsdenOtto Moerbeek
2007-09-27No need to use two buffers for reading data from the user. From MarkOtto Moerbeek
Lumsden; ok ray@
2007-09-26reuse available var, from Mark LumsdenOtto Moerbeek
2007-09-25remove unneeded files, from Mark LumsdenOtto Moerbeek
2007-09-18redundant asignment; from Mark LumsdenOtto Moerbeek
2007-09-17small update regarding removal of process highlighting;Jason McIntyre
spotted by Mark Lumsden
2007-09-10typo in message, from Mark Lumsden.Otto Moerbeek
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