summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Expand)Author
2014-04-08Use VM_UVMEXP instead of VM_METER for memory usages and directlyMartin Pieuchot
2014-04-07Just exit if we get an error or HUP when poll()ing the keyboard.Todd C. Miller
2014-01-14getnstr() returns KEY_RESIZE if there was a pending resize event, so loopPhilip Guenther
2013-11-28unsigned char for ctypeTheo de Raadt
2013-09-21more reasonable MAX_COLS for modern displaysMarc Espie
2013-04-02Handle big time_tPhilip Guenther
2013-03-23wchan is no longer exposed, just check if wmesg is not empty.Ted Unangst
2013-01-14Remove an unnecessary function castPhilip Guenther
2013-01-14When showing threads, say so. Fix up some comments and names at the same time.Philip Guenther
2012-12-18We no longer use struct eproc for kinfo_proc in sysctl.h so thereTodd C. Miller
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-07-09According to miod, KERNBASE used as a userland symbol should dieTheo de Raadt
2012-06-08Add checks for command line input (or the TOP environment var)lum
2012-06-06tweak previous;Jason McIntyre
2012-06-05Add support for hiding a user's processes in top.Bryan Steele
2012-04-21Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag.Philip Guenthe
2012-04-20Silence warnings. Okay deraadt@.Paul Irofti
2012-04-17Make it optional for kvm_getprocs() (and related sysctl) to returnPaul Irofti
2012-04-15Move the check for a <0 number of process display_lines to a better place.lum
2012-04-12Add per thread accounting, mainly for usage & friends.Paul Irofti
2011-12-16Use H to make top show process threads, instead of the current T. This isJoel Sing
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
2011-03-25clarify the description of the `1' command;Jason McIntyre
2010-08-10add a description for bsd.sp where appropriate; while here, writeIgor Sobrado
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
2010-04-01Allow top to accept tab characters as input in interactive modelum
2010-03-26Remove unnecessary ptr.lum
2010-03-26Make the source of process TIME for displaying and sorting the same.lum
2010-03-24Document updating the display using the space-bar.lum
2010-03-23Fix pointer usage with the renice and kill error message structure. Pointer w...lum
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
2010-01-29Allow sorting by command and pid. Also, allow partial matches with strncmp.Ted Unangst
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
2009-07-22enter_user() is only called in one way, rendering the third parameterTheo de Raadt
2009-07-18restore -S as toggle;Jason McIntyre
2009-06-04with -d1, switch interactive mode off, so the screen isn't restoredStuart Henderson
2009-04-28extend STATE column to fit > 9 cpus; Aivar Jaakson; PR6131Theo de Raadt
2008-09-24remove unused functionCharles Longeau