summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/vmstat.c
AgeCommit message (Collapse)Author
2002-09-17ansiTheo de Raadt
2002-09-05Print uvmexp.zeropages.Artur Grabowski
2002-06-19mark which nlist[] kmem entries are not needed in the sysctl case, and which areTheo de Raadt
2002-05-29more snprintfTheo de Raadt
2002-03-15No more need to define __POOL_EXPOSEArtur Grabowski
2002-03-12This makes things line up better. millert@ concurs.Hakan Olsson
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.
2002-02-01Add a verbose flag. Print unused memory types when verbose.Artur Grabowski
Don't print unused pools when not verbose.
2002-01-21s/deamon/daemon/Theo de Raadt
2002-01-15Make vmstat -m output the same for both sysctl and kvm versions.Artur Grabowski
Plus a minor simplification in preparation for a future change.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-06New vm includes.Artur Grabowski
2001-09-16%llu instead of %qu and explicit casts.Artur Grabowski
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-07-28Wall cleanupPeter Valchev
2001-06-27UVM is no longer an optionArtur Grabowski
2001-06-24Fix logic, add some more sysctl stuff. The only reason vmstat is stillAngelos D. Keromytis
setgid is because of the -i information (Theo needs to fix that for all archs).
2001-06-24Use sysctl for pool data.Artur Grabowski
2001-06-23Break out pool printing into a separate function.Artur Grabowski
2001-05-11cleanupTheo de Raadt
2001-05-11Use sysctl(3) to retrieve nchstats, forkstat, nselcoll, and kmemstatsAngelos D. Keromytis
if the "default" files (running system) were specified for the ksyms and memory dump. Eventually, it won't be necessary for vmstat to be privileged.
2001-04-30right value for X_NSELCOLLArtur Grabowski
2001-04-30Ooops! Undo breakage I introduced in 1.48.Artur Grabowski
2001-04-30CLSIZE is 1 on all archs and will go away soon.Artur Grabowski
2001-03-21Add printing of pool statistics for -m.Artur Grabowski
From NetBSD.
2001-01-04Only use the sysctl interface if it's the running kernel we're gettingAngelos D. Keromytis
information from.
2001-01-04Update to use the new sysctl return value for kmembuckets. That's itAngelos D. Keromytis
for tonight.
2001-01-04Use sysctl(3) to get clock information as well.Angelos D. Keromytis
2001-01-04Use the new sysctl(3) interface for the kernel memory bucket statistics.Angelos D. Keromytis
2001-01-04Use sysctl(3) to get the boottime, rather than kread()Angelos D. Keromytis
2001-01-03New length of kmembuckets counters; we don't really take advantage ofAngelos D. Keromytis
the full length, since that would bring us way beyond typical terminal size (~20 digits per field). Still, this should be enough for a while.
2001-01-02accumulate memory total requests in quadMichael Shalayeff
2001-01-02A bit more space to accomodate u_long for kb_calls (Requests column)Angelos D. Keromytis
2000-11-26Print select collisions in the vmstat -s output.Artur Grabowski
(XXX - I couldn't find a better place to put it.).
2000-10-25i386's interrupt counters are u_long, adjust printf formats.Michael Shalayeff
use err/errx instead of fprintf+exit. deraadt@ ok
2000-06-27TyopArtur Grabowski
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
1999-12-12widen output formatting a bitHugh Graham
1999-09-02print i386 irqs nicer, so that sharing is more obviousTheo de Raadt
1999-08-16printf format fixesArtur Grabowski
1999-07-17nice printing of sum^H^H^Huvmexp for uvmArtur Grabowski
1999-06-24Ooops! Make this work without uvmArtur Grabowski
1999-06-23kill old tahoe codeArtur Grabowski
1999-06-23make it work with UVM. XXX - not done yet.Artur Grabowski
1999-06-11Some stray i386 -> __i386__ that only trigger for vmstat -i.Marc Espie
pc532 -> __pc532__ as well. Reported & diagnosed by ficus.
1999-05-13vmstat -i: Increase width of interrupt count column.Alex Feldman
1999-03-15re-indent; nash@mcs.netTheo de Raadt
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1998-05-1914 for a type field to accomodate 'VM page bucket'Michael Shalayeff
1997-11-30remove dk_* use; kstailey/mickey please finish this correctlyTheo de Raadt