summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Collapse)Author
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
o make itoa() just use snprintf() o rename itoa7() to format_uid() and use snprintf() o max username len is _PW_NAME_LEN, not 8
2003-06-18cleanup, and now it produces KNF outputTheo de Raadt
2003-06-18SIGWINCH is always hereTheo de Raadt
2003-06-18remove unused variablesTheo de Raadt
2003-06-17properly typecast to uid_t the return value of proc_owner() and reportJean-Francois Brousseau
ESRCH instead of EACCES if it returns -1 ok millert@
2003-06-16Add missing #include <err.h>Todd C. Miller
2003-06-16use warnx(); millert okTheo de Raadt
2003-06-15use uid_t and fix some sign compare warnings; OK krw@ and deraadt@Todd C. Miller
2003-06-14use correct length instead of sizeof(char *) for some strl* bound valuesAnil Madhavapeddy
millert@ ok
2003-06-13readable codeTheo de Raadt
2003-06-13use proper varargs(3), as opposed to a hack; ok millertPeter Valchev
2003-06-12knfTheo de Raadt
2003-06-12cleanup; ok deraadtPeter Valchev
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-05-29-I${.CURDIR} not neededTheo de Raadt
2003-04-25commentTheo de Raadt
2003-04-25comment fixTheo de Raadt
2003-04-06strcat -> strlcat fix. ok tedu@, deraadt@Thierry Deval
2003-04-06a strlcatTheo de Raadt
2002-07-15license change from William LeFebvre <wnl@groupsys.com>; top is now BSDTheo de Raadt
licensed. this same license will show up on his next release as well.
2002-07-02Add missing copyrightThorsten Lockert
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-06-03strlcpyTheo de Raadt
2002-05-29strlcatTheo de Raadt
2002-04-21Document fractional delays.Hugh Graham
2002-04-21Add support for fractional delay values. Useful for fast updatesHugh Graham
without spinning top. Cleared by millert.
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-05Get maxslp with sysctl. Not the constant.Artur Grabowski
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-11-11Add 'S' to interactive mode to toggle the display of systemFederico G. Schwindt
processes; From NetBSD. millert@ ok.
2001-09-05select correctly, and on the right file descriptors too!Theo de Raadt
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵Todd C. Miller
POSIX counterparts.
2001-09-03don't print zero values on processes lineCamiel Dobbelaar
ok millert@
2001-08-24Display even zeros so that the swap output makes more sense.Artur Grabowski
From Brian Poole <raj@cerias.purdue.edu>
2001-07-27abort if stdout use ever produces EOF. before, top was one of those nastyTheo de Raadt
processes that could spin if it's output tty went away in some cases.
2001-07-27more careful handling; i.mcwilliam@uws.edu.auTheo de Raadt
2001-07-17-Wall cleanup; ok deraadtPeter Valchev
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-06-27UVM is no longer an optionArtur Grabowski
2001-06-03Use KERN_NPROCS to get the number of processes on the system, toAngelos D. Keromytis
determine the amount of space we'll need to store the information. The alternative, calling sysctl() with a NULL argument for data, meant the kernel had to go through the process table.
2001-05-10Typo; physial -> physical.Aaron Campbell
2001-02-22plug mem leak i introduced; spotted by millertTheo de Raadt
2001-02-17bye bye setgid kvmTheo de Raadt
2001-02-17do not use nlist anymore, kvm gets the bullet nextTheo de Raadt