summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/vmstat.c
AgeCommit message (Expand)Author
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-30improve argv checking. drive name, if given, must match something.Ted Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-19no need to kvm the palloc. the pgsize is more correctly accessed via pool.Ted Unangst
2014-11-23<sys/buf.h> isn't actually needed herePhilip Guenther
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
2014-07-13Display zero page hit and miss counters in vmstat -s.Mark Kettenis
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-02populate pool npages, as per src/sys/kern/subr_pool.c r1.135David Gwynne
2014-07-02info about pools is currently given to userland by copying eachDavid Gwynne
2014-04-08Use VM_UVMEXP instead of VM_METER for memory usages and directlyMartin Pieuchot
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-11-13remove unused variablesCharles Longeau
2013-10-31sometimes we find .h we no longer needTheo de Raadt
2013-10-08Obtain the uptime of the running system using the new CLOCK_UPTIME,Philip Guenther
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-07-18There is no uvm_km_pages_free in our kernel anymore. The correspondingAlexander Bluhm
2013-05-14Don't display swapin/swapout uvmexp fieldsMiod Vallat
2013-03-26i broke it. tailq is now simpleq in pool.Ted Unangst
2012-04-12remove rfork(); ok guenther miodTheo de Raadt
2010-11-19Make KERN_CPTIME return an avarage number of ticks across all CPUsMike Belopuhov
2010-08-01remove unused variableCharles Longeau
2010-07-22Remove the VM_KMPAGESFREE sysctl. After the pmemrangeThordur I. Bjornsson
2010-07-20Remove setresguid since it is no longer needed.lum
2009-11-22don't repeat the banner if not a tty.Ted Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-09-30Use guaranteed 64-bit arithmetic for the name lookup statistics andChristian Weisgerber
2008-10-08use (unsigned) in rate calculation for > 2 billion interrupts. This willTheo de Raadt
2008-09-08"InUse" is much more interesting than "Releases" for pools. ok beck@Otto Moerbeek
2008-03-16use ellipsis to show that more than one disk is allowedIgor Sobrado
2007-12-30minor improvement on the diff to r1.106Igor Sobrado
2007-12-15change over last few bits to use sysctl(3) if possible, and make thisTheo de Raadt
2007-10-26patch to improve vmstat(8) output:Igor Sobrado
2007-09-13Use a sig_atomic_t instead of an int when setting it from a signal handlerChad Loder
2006-10-02Fix error messages, okay ray@ deraadt@Pedro Martelletto
2006-03-31spacingTheo de Raadt
2006-03-31lint-driven cleanup. nothing too scary in this diff.Theo de Raadt
2006-03-13delint; from David HillOtto Moerbeek
2006-02-23remove unused variableMartin Reindl
2006-02-11namelist must be NULL terminated, plus some cleanup after mickeyMartin Reindl
2006-01-31include uvm_km_pages_free into the pool accounting as it is the main consumer...Michael Shalayeff
2005-09-28make -s print information about kmapent as well, reminded by deraadt@Pedro Martelletto
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
2005-04-21print out fpu ctx switches countMichael Shalayeff
2004-12-24In vmstat -i, stop walking the kernel "allevents" evcnt chain, as they areMiod Vallat
2004-11-28Stop looking at intrcnt[] for vmstat -i; this means vmstat -i only worksMiod Vallat
2004-11-09use warn() instead of printf() + strerror()Pedro Martelletto
2004-09-23do not shrink the field width...Theo de Raadt
2004-09-23adapt to KERN_INTRCNT_CNT becoming a quad; ok tedu, and pulling in someTheo de Raadt
2004-07-02Do not divide by zero in vmstat -t; Nikos Ntarmos.Miod Vallat