summaryrefslogtreecommitdiff
path: root/usr.bin/top/utils.c
AgeCommit message (Expand)Author
2018-09-22Remove unused Table_size define and digits() function.Todd C. Miller
2018-09-22Use user_from_uid() and uid_from_user() directly. The wrappersTodd C. Miller
2018-09-13Fix warnings caused by user_from_uid() and group_from_gid() nowTodd C. Miller
2017-03-15annoying whitespace die die dieTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-04-02Handle big time_tPhilip Guenther
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
2010-01-29Allow sorting by command and pid. Also, allow partial matches with strncmp.Ted Unangst
2007-10-01typos in comment; from Pierre RiteauOtto Moerbeek
2007-07-27replace a few more malloc(n*m) idioms with calloc(n,m) for safety;Theo de Raadt
2007-07-16fix percentage computation of wrapping numbers; from Willem DijkstraOtto Moerbeek
2007-04-04unneeded include; -Wall -Wmissing-prototypes is happy; from Mark LumsdenOtto Moerbeek
2007-02-27an atoi() -> strtonum() conversion from Mark Lumsden; ok simon@ ray@Otto Moerbeek
2005-06-08Multi-cpu support for top. Each cpu now gets its own stats line.Todd C. Miller
2004-11-22simplify loop iterationPatrick Latifi
2004-10-07introduce -p option and p command to only show a single process.Otto Moerbeek
2003-07-07protosTheo de Raadt
2003-06-20some cleanings recommended by lintTheo de Raadt
2003-06-19o get rid of strecpy() and use strlcpy() and/or snprintf() instead.Todd C. Miller
2003-06-12knfTheo de Raadt
2003-06-12cleanup; ok deraadtPeter Valchev
2003-04-25commentTheo de Raadt
2003-04-25comment fixTheo de Raadt
2002-07-15license change from William LeFebvre <wnl@groupsys.com>; top is now BSDTheo de Raadt
2002-06-03strlcpyTheo de Raadt
2001-11-19kill more registersMike Pechkin
1998-09-20cp_time is long, deal with it.Niklas Hallqvist
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