summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat
AgeCommit message (Collapse)Author
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
ok mickey@
2006-01-31include uvm_km_pages_free into the pool accounting as it is the main ↵Michael Shalayeff
consumer of it; feedback from millert@ and tedu@ ok
2005-10-17Use queue macros instead of directly accessing fields. ok pat@ "put itOtto Moerbeek
in" deraadt@
2005-09-28make -s print information about kmapent as well, reminded by deraadt@Pedro Martelletto
2005-09-06make some of the stat utility pages reference each other;Jason McIntyre
idea from a mail to misc@ from simon dassow;
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
ok deraadt@ millert@ moritz@
2005-06-29- elaborate DESCRIPTIONJared Yanovich
- the -s flag dumps the uvmexp structure, not the sum structure - add FILES - mdoc macro/layout, punctuation, capitalization, etc. improvements - update SEE ALSO ok jmc
2005-06-23sort options;Jason McIntyre
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
not incremented anymore. Kernel-side code will be removed in a few weeks.
2004-11-28Stop looking at intrcnt[] for vmstat -i; this means vmstat -i only worksMiod Vallat
on live kernels now, though. ok deraadt@
2004-11-09use warn() instead of printf() + strerror()Pedro Martelletto
ok hshoexer@ jaredy@ deraadt@
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
changes written by danh
2004-07-02Do not divide by zero in vmstat -t; Nikos Ntarmos.Miod Vallat
2004-06-28add -vz to usage();Jason McIntyre
2004-06-28Remove special #if defined(__i386__) code from systat and vmstat. We now useAaron Campbell
sysctl to fetch interrupt counters on all architectures. Also add new '-z' flag to vmstat which means show all devices, even those that have not yet generated an interrupt. deraadt@ tholo@ drahn@ millert@ ok
2004-06-14remove debug messageTheo de Raadt
2004-06-14let vmstat -i still work on older kernels; spotted by tholoTheo de Raadt
2004-06-11div etime by ncpuTheo de Raadt
2004-06-11on i386 machines, attempt to peek inside apic_intrhand[] as well, so thatTheo de Raadt
MP machines get interrupt counters. will be replaced by a MI subsystem one day. most code from drahn, few final bugs fixed by me
2004-04-22Fix pasto in realloc portion of dkreadstats; from Pedro MartellettoTodd C. Miller
OK drahn@
2004-03-17add references to procmap(1) in SEE ALSO;Jason McIntyre
suggested by tedu@
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
2004-01-30vmstat shows max 2 drives by defaultTheo de Raadt
2004-01-15Fix printf format string. ok tedu@Otto Moerbeek
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