summaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.c
AgeCommit message (Expand)Author
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
2001-12-05Get maxslp with sysctl. Not the constant.Artur Grabowski
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-06-03Use KERN_NPROCS to get the number of processes on the system, toAngelos D. Keromytis
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
2001-02-17partial KNF, because i cannot read the diffs i am trying to debugTheo de Raadt
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
1999-11-14stathz instead of hz, plus improvements by me; camield@inet.unisource.nlTheo de Raadt
1999-10-29writenTodd T. Fries
1999-06-21stop casting the third argument to kvm_read to char *. it is a void *.Artur Grabowski
1999-05-22Update for new vmswap code.Tobias Weingartner
1998-11-28do not count swap spaces that were not swapon(2)edkstailey
1998-09-20cp_time is long, deal with it.Niklas Hallqvist
1998-09-20widen unsigned entities to signed ones before subtracting, fixes sorting on a...Niklas Hallqvist
1998-08-21support "-o field" and the interactive "o" commandkstailey
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1998-06-25handle missing swapTheo de Raadt
1997-11-08Sort idle processes by total CPU usage, not cpticks since cpticksTodd C. Miller
1997-09-09"last pid" stuff is useless with random pids.Todd C. Miller
1997-09-09Use kvm_openfiles() not the sunos compat kvm_open().Todd C. Miller
1997-08-24Fix compiler warnings.Todd C. Miller
1997-08-22Two more alpha warnings.Jason Downs
1997-08-22First sweep. Prototype, type fixes, long fixes, mostly compiles withJason Downs
1997-08-17print "idle" for idle processeskstailey
1997-08-14top 3.4, with a few changes. Still needs more work.Jason Downs