summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
AgeCommit message (Expand)Author
2015-10-26print uptime too. ok deraadtTed Unangst
2015-05-06Display thread IDs instead of the name of the process's owner when "-H"Martin Pieuchot
2014-11-27All cpus -> N CpusMarc Espie
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-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-06-05Add support for hiding a user's processes in top.Bryan Steele
2012-04-15Move the check for a <0 number of process display_lines to a better place.lum
2011-12-16Use H to make top show process threads, instead of the current T. This isJoel Sing
2010-04-23show hostname in header line; ok lum@ phessler@Otto Moerbeek
2010-03-24Document updating the display using the space-bar.lum
2010-03-18make the 'e' command work, from Mark LumsdenOtto 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 show_help(); from Mark LumsdenJason McIntyre
2009-12-10add an option '1' to display all cpu stats combined. helps save spaceTed Unangst
2007-11-30Simplify process header display logic a bit. From Mark LumsdenOtto Moerbeek
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
2007-11-01cleanup of message handling, originally from Mark Lumsden, with aOtto Moerbeek
2007-10-16Properly adjust headers displayed when the screen contains few lines.Otto Moerbeek
2007-09-30unused static var; from Mark LumsdenOtto 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
2007-05-29Instead of using hand-crafted redraws minimizing screen updates, use curses.Otto Moerbeek
2007-03-30Remove some uneeded includes and declarations. -Wall is happy and noOtto Moerbeek
2006-03-04Show the CPU state %'s on first display as well. "looks good" deraadt@Otto Moerbeek
2005-07-01NUL-terminate the screen buffer in u_process(), since it is passed toJared Yanovich
2005-06-17replace hardcoded 128 with MAX_COLS (now 256)Markus Friedl
2005-06-08Multi-cpu support for top. Each cpu now gets its own stats line.Todd C. Miller
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2004-06-13Typos in comments and a redundant prototype. From Brian Poole via jmc@Otto Moerbeek
2003-11-01process signals at the right time. also handle stdin failure better;Theo de Raadt
2003-06-19o get rid of strecpy() and use strlcpy() and/or snprintf() instead.Todd C. Miller
2003-06-18remove unused variablesTheo de Raadt
2003-06-13readable codeTheo de Raadt
2003-06-13use proper varargs(3), as opposed to a hack; ok millertPeter Valchev
2003-06-12cleanup; ok deraadtPeter Valchev
2002-07-15license change from William LeFebvre <wnl@groupsys.com>; top is now BSDTheo de Raadt
2002-06-12a real pid_t cleanup.Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
2001-09-03don't print zero values on processes lineCamiel Dobbelaar
2001-08-24Display even zeros so that the swap output makes more sense.Artur Grabowski
2001-07-27abort if stdout use ever produces EOF. before, top was one of those nastyTheo de Raadt
1999-03-06back out changes that should not have escaped my local treeTodd C. Miller
1999-03-06add missing reference to infocmpTodd C. Miller
1997-08-22First sweep. Prototype, type fixes, long fixes, mostly compiles withJason Downs
1997-08-14top 3.4, with a few changes. Still needs more work.Jason Downs