summaryrefslogtreecommitdiff
path: root/usr.bin/top/top.c
AgeCommit message (Expand)Author
2010-04-24delete two extra ; that got inserted somewhere along the lineTheo de Raadt
2010-04-21Handle a strdup failure.lum
2010-03-26Remove unnecessary ptr.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-18While resizing, show correct CPU stats, from Mark LumsdenOtto Moerbeek
2010-01-29Allow sorting by command and pid. Also, allow partial matches with strncmp.Ted Unangst
2009-12-10add an option '1' to display all cpu stats combined. helps save spaceTed Unangst
2009-07-18restore -S as toggle;Jason McIntyre
2009-06-04with -d1, switch interactive mode off, so the screen isn't restoredStuart Henderson
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
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
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
2007-11-04Get rid of the very annoying warning message + delay when a commandOtto Moerbeek
2007-11-01make check on -s and interactive s consistent; from Tilo StritzkyOtto Moerbeek
2007-10-16Properly adjust headers displayed when the screen contains few lines.Otto Moerbeek
2007-10-04only init screen when in interactive mode; ok ray@Otto Moerbeek
2007-09-27No need to use two buffers for reading data from the user. From MarkOtto Moerbeek
2007-09-26reuse available var, from Mark LumsdenOtto Moerbeek
2007-09-18redundant asignment; from Mark LumsdenOtto Moerbeek
2007-09-10typo in message, from Mark Lumsden.Otto Moerbeek
2007-07-27u_endscreen()'s argument is entirely unused; inspired by zinovik@cs.karelia.ruTheo de Raadt
2007-05-29Instead of using hand-crafted redraws minimizing screen updates, use curses.Otto Moerbeek
2007-04-01tidy up usage(); partly from Mark LumsdenJason McIntyre
2007-02-27an atoi() -> strtonum() conversion from Mark Lumsden; ok simon@ ray@Otto Moerbeek
2007-02-04Complain of the user specifies a negative number for the 's' command.Otto Moerbeek
2007-02-04Introducing the '+' interactive command to reset all filters.Otto Moerbeek
2007-02-04actully use a default value when we say so. from Mark LumsdenOtto Moerbeek
2007-01-03Add a 'g' command to only show processes having a string in theirOtto Moerbeek
2006-12-27Also provide 'C' as a command line arg. From Mark Lumsden <mark at cyodesignsOtto Moerbeek
2006-03-04Show the CPU state %'s on first display as well. "looks good" deraadt@Otto Moerbeek
2006-03-04Handle signals in non-interactive mode. "looks good" deraadt@Otto Moerbeek
2005-12-04support for toggling thread viewing.Ted Unangst
2005-06-17add a 'C' command ) that toggles the display of the full cmdline;Markus Friedl
2005-06-08Multi-cpu support for top. Each cpu now gets its own stats line.Todd C. Miller
2005-05-14sort options + sync usage();Jason McIntyre
2005-05-13grab bag of man page updatesJared Yanovich
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2004-10-07introduce -p option and p command to only show a single process.Otto Moerbeek
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-05-09delintTheo de Raadt
2004-05-09spacesTheo de Raadt
2004-05-07Check poll revents for error.Todd C. Miller
2003-11-01process signals at the right time. also handle stdin failure better;Theo de Raadt
2003-09-19commands.c: add `o' and `S' to internal help, sort optionsJason McIntyre
2003-08-21use pollTheo de Raadt
2003-07-07protosTheo de Raadt
2003-06-19o get rid of strecpy() and use strlcpy() and/or snprintf() instead.Todd C. Miller