summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat
AgeCommit message (Collapse)Author
2003-07-28fix rcsidTed Unangst
2003-07-25context switches and interrupts are traps, not faults. align cpu field aTed Unangst
little better. some man page pretty from jmc@ and ok millert@
2003-06-25protosTheo de Raadt
2003-06-18Add missing check for i < dk_ndrive in 2 loops; closes PR 3322Todd C. Miller
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-19kill dead (if 0) code.Artur Grabowski
2003-02-24Fix copy/paste typoAlexander Yurchenko
art@ ok
2003-02-17typos;Jason McIntyre
2003-01-13Half-done conversion of vmstat -i to sysctls.Artur Grabowski
The evcnt stuff is left just like in the kvm version.
2002-12-16Make systat(1), iostat(8) and vmstat(8) automatically update their diskThierry Deval
statistics when a device is added/removed. ok deraadt@
2002-11-29de is dead; peterw@ifost.org.auTheo de Raadt
2002-09-17ansiTheo de Raadt
2002-09-05Print uvmexp.zeropages.Artur Grabowski
2002-08-04only open kvm once between these twoTheo de Raadt
2002-06-28wrap NOKVM variables tooTheo de Raadt
2002-06-19mark which nlist[] kmem entries are not needed in the sysctl case, and which areTheo de Raadt
2002-06-08Missing newline at end of file. from krauseDale Rahn
2002-05-29more snprintfTheo de Raadt
2002-05-23if NOKVM is defined, do not do the KVM stuff at allTheo 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-17better message; adi@hexapodia.orgTheo de Raadt
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-01Document -vArtur Grabowski
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-09Since all our arches have /dev/ksyms, replace rigid mentions of the kernelMiod Vallat
being /bsd with more correct terms, and remove /bsd and /dev/kmem from the FILES section if they were there.
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-07-21plug mem leak; zero right amount of memTheo de Raadt
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-06-03Read struct diskstats from the kernel.Angelos D. Keromytis
2001-05-14No need to use calloc gratuitously.Angelos D. Keromytis
2001-05-14Use warn() consistently.Angelos D. Keromytis
2001-05-14Use the sysctl-based diskstats for live kernels. deraadt@ okAngelos D. Keromytis
2001-05-14long -> int64_t for tty statisticsAngelos D. Keromytis
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-05-11Fix stray comma.Angelos D. Keromytis
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-04-12Todd says we should not doc depricated behaviourTheo de Raadt