summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
AgeCommit message (Expand)Author
2022-09-10top(1): remove last vestiges of "last pid" supportScott Soule Cheloha
2022-08-08top(1): display uptime with seconds, print uptime in fixed formatScott Soule Cheloha
2020-08-26Add "t" to toggle the display of routing tableskn
2020-08-23Filter by routing tablekn
2020-07-26Add / as alias for g (grep)kn
2020-06-27Add missing scroll keys to help page, name default signale for kill commandkn
2019-10-27+ resets P as wellkn
2019-10-08Replace "boolean.h" with <stdbool.h>kn
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2018-11-28Allow reverse sort orderkn
2018-11-17Add new KERN_CPUSTATS sysctl(2) so we can identify offline CPUs.cheloha
2018-10-05Revert KERN_CPTIME2 ENODEV changes in kernel and userspace.cheloha
2018-09-26KERN_CPTIME2: set ENODEV if the CPU is offline.cheloha
2018-01-04glaring KNF violationTheo de Raadt
2017-12-18Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2)cheloha
2017-03-15annoying whitespace die die dieTheo de Raadt
2016-08-27Pull in <sys/time.h> for struct timespec and timevalPhilip Guenther
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