summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
AgeCommit message (Expand)Author
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