summaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.c
AgeCommit message (Expand)Author
2013-03-23wchan is no longer exposed, just check if wmesg is not empty.Ted Unangst
2012-12-18We no longer use struct eproc for kinfo_proc in sysctl.h so thereTodd C. Miller
2012-07-09According to miod, KERNBASE used as a userland symbol should dieTheo de Raadt
2012-06-05Add support for hiding a user's processes in top.Bryan Steele
2012-04-21Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag.Philip Guenthe
2012-04-17Make it optional for kvm_getprocs() (and related sysctl) to returnPaul Irofti
2012-04-12Add per thread accounting, mainly for usage & friends.Paul Irofti
2011-07-12print out the amount of memory used for cache. ok ottoTed Unangst
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
2010-04-26more portable codeTheo de Raadt
2010-03-26Make the source of process TIME for displaying and sorting the same.lum
2010-01-29Allow sorting by command and pid. Also, allow partial matches with strncmp.Ted Unangst
2009-04-28extend STATE column to fit > 9 cpus; Aivar Jaakson; PR6131Theo de Raadt
2007-11-01bump arbitrary limit on arg length shown by -C; requested by and ok deraadt@Otto Moerbeek
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-04-16don't truncate wchan, ok miod@Otto Moerbeek
2007-04-13include cleanup and fix in comment; from Mark LumsdenOtto Moerbeek
2007-04-04missing prototypes; from Mark Lumsden with a twist by me.Otto Moerbeek
2007-02-04long and long long is not the same on 32 bits archsOtto Moerbeek
2007-01-03Add a 'g' command to only show processes having a string in theirOtto Moerbeek
2007-01-02top(1) doesn't use any math.h function, so do not include math.h andOtto Moerbeek
2006-11-29Do not test for processes being swapped out since this can't happen anymore.Miod Vallat
2006-09-20Recommit memory leak fix.Ray Lai
2006-04-29use calloc(3) instead of malloc(3) to allocate cpu state structs; it'sOtto Moerbeek
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
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
2004-12-06missing space; bluhm at genua.deMarkus Friedl
2004-11-22simplify loop iterationPatrick Latifi
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
2004-06-13Typos in comments and a redundant prototype. From Brian Poole via jmc@Otto Moerbeek
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-09spacesTheo de Raadt
2004-01-08Convert to kinfo_proc2; ok deraadt@Todd C. Miller
2003-07-07protosTheo 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
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
2003-06-13readable codeTheo de Raadt
2003-06-12knfTheo de Raadt
2003-06-12cleanup; ok deraadtPeter Valchev
2002-07-02Add missing copyrightThorsten Lockert
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller