summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Collapse)Author
2011-07-12print out the amount of memory used for cache. ok ottoTed Unangst
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
that we've got name we want for the API we want "ZAP!" deraadt@
2011-03-25clarify the description of the `1' command;Jason McIntyre
from David Vasek and Glen Anderson
2010-08-10add a description for bsd.sp where appropriate; while here, writeIgor Sobrado
"multiprocessor" in a consistent way. written with lots of good advice from jmc@, who noted that changing hier(7) was not enough and carefully reviewed this diff. ok jmc@
2010-04-26more portable codeTheo de Raadt
2010-04-24delete two extra ; that got inserted somewhere along the lineTheo de Raadt
2010-04-23mention hostname, prompted by lum@Otto Moerbeek
2010-04-23show hostname in header line; ok lum@ phessler@Otto Moerbeek
2010-04-21Handle a strdup failure.lum
ok otto@
2010-04-01Allow top to accept tab characters as input in interactive modelum
while using the kill and renice commands. This removes a bug where process numbers that came after a tab character in the input string would not be affected by the corresponding command. ok tedu@ otto@
2010-03-26Remove unnecessary ptr.lum
ok otto@
2010-03-26Make the source of process TIME for displaying and sorting the same.lum
top(1) and ps(1) now display the same info. ok tedu@ millert@ otto@ and tested on sparc64 by landry@
2010-03-24Document updating the display using the space-bar.lum
ok jmc@ otto@
2010-03-23Fix pointer usage with the renice and kill error message structure. Pointer ↵lum
was used without allocating memory. ok beck@ otto@
2010-03-22make argument check for '-s' cli option and interactive 's' consistent. ok otto@lum
2010-03-18make the 'e' command work, from Mark LumsdenOtto Moerbeek
2010-03-18While resizing, show correct CPU stats, from Mark LumsdenOtto Moerbeek
2010-03-18zap -g that sneaked in some time agoOtto Moerbeek
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