summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Collapse)Author
2006-04-29use calloc(3) instead of malloc(3) to allocate cpu state structs; it'sOtto Moerbeek
better style here; plus it prevents bogus data to show up on first display. report + ok pedro@
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-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-12-05oops: forgot to remind tedu to add -T to SYNOPSIS too...Jason McIntyre
2005-12-04support for toggling thread viewing.Ted Unangst
ok brad, hints from jmc
2005-10-07sync help message with reality: sort acceptes keyword "pri"Hans-Joerg Hoexer
ok deraadt@
2005-09-06pesky comma;Jason McIntyre
2005-09-06make some of the stat utility pages reference each other;Jason McIntyre
idea from a mail to misc@ from simon dassow;
2005-07-01NUL-terminate the screen buffer in u_process(), since it is passed toJared Yanovich
strlen() in line_buffer() (requires allocating an extra byte for it). from markus, ok deraadt
2005-06-17replace hardcoded 128 with MAX_COLS (now 256)Markus Friedl
2005-06-17add a 'C' command ) that toggles the display of the full cmdline;Markus Friedl
with Jared Yanovich; ok deraadt
2005-06-08Multi-cpu support for top. Each cpu now gets its own stats line.Todd C. Miller
Based on work by todd@ at the hackathon.
2005-05-25SIZE and RES are not always in kbytesJared Yanovich
2005-05-14sort options + sync usage();Jason McIntyre
2005-05-13grab bag of man page updatesJared Yanovich
- sync to reality (kill first BUG, WCPU field, and ABANDONED state and add WAIT field description) - transform paragraph of field descriptions into a list - minor mdoc, spelling, capitalization nits ok & help jmc, mickey
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2004-12-06missing space; bluhm at genua.deMarkus Friedl
2004-11-22simplify loop iterationPatrick Latifi
ok otto millert
2004-11-17off-by-one in process_states[], fixes display of memory; ok deraadt, aaronMarkus Friedl
2004-10-07introduce -p option and p command to only show a single process.Otto Moerbeek
From Patrick Latifi. ok deraadt@ millert@
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-06-27errno struct member -> err; ok millert@Marco S Hyman
2004-06-13Typos in comments and a redundant prototype. From Brian Poole via jmc@Otto Moerbeek
ok jmc@
2004-06-11handle the KI_NOCPU case, pointed out by markusTheo de Raadt
2004-06-11only print /# if > 1 cpu on a machineTheo de Raadt
2004-06-11export cpuid via kproc2, and make ps & top aware... from niklasTheo de Raadt
2004-06-11hide top breakage, until the next commit which will do it rightTheo de Raadt
2004-05-10Describe load average and remove useless "BUG". OK deraadt@Todd C. Miller
2004-05-09delintTheo de Raadt
2004-05-09spacesTheo de Raadt
2004-05-07Check poll revents for error.Todd C. Miller
2004-01-08Convert to kinfo_proc2; ok deraadt@Todd C. Miller
2003-11-01process signals at the right time. also handle stdin failure better;Theo de Raadt
millert looked at it..
2003-09-19commands.c: add `o' and `S' to internal help, sort optionsJason McIntyre
top.1: sort options and SYNOPSIS add description of `o' (from Patrick Latifi) top.c: sync usage() with SYNOPSIS ok deraadt@
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-21use pollTheo de Raadt
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
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