summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat
AgeCommit message (Collapse)Author
2010-11-19Make KERN_CPTIME return an avarage number of ticks across all CPUsMike Belopuhov
tedu agreed with an idea, tested by Luis Useche and me; ok deraadt
2010-09-24Now that HW_DISKNAMES returns xx0: or xx0:uid entries, we must truncateTheo de Raadt
the : and uid components out -- otherwise these two programs will work poorly.
2010-08-01remove unused variableCharles Longeau
ok thib@
2010-07-22Remove the VM_KMPAGESFREE sysctl. After the pmemrangeThordur I. Bjornsson
changes it was returing a constant 0, changing to cope with those changes makes less sense then just removing as it provides the user with no usefull information. sthen@ grepped the port's tree for me and found not hits, thanks! OK deraadt@, matthew@
2010-07-20Remove setresguid since it is no longer needed.lum
ok matthew@ millert@ deraadt@
2009-11-22don't repeat the banner if not a tty.Ted Unangst
add a -c count option to netstat. tweak spacing to not smear fields in vmstat. ok deraadt sthen
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-09-30Use guaranteed 64-bit arithmetic for the name lookup statistics andChristian Weisgerber
zap the PCT() macro that was a holdover from before we had prototypes. ok gilles@, deraadt@
2008-10-08use (unsigned) in rate calculation for > 2 billion interrupts. This willTheo de Raadt
do until when we tweak struct uvmexp to have unsigned 64 bit counters, and when we do, it will not break. from PR 4046, ok millert
2008-09-08"InUse" is much more interesting than "Releases" for pools. ok beck@Otto Moerbeek
deraadt@ art@
2008-03-16use ellipsis to show that more than one disk is allowedIgor Sobrado
ok jmc@
2007-12-30minor improvement on the diff to r1.106Igor Sobrado
ok jsing@
2007-12-15change over last few bits to use sysctl(3) if possible, and make thisTheo de Raadt
not setgid kmem (hurray!) ok tedu, tested jsg
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-10-26patch to improve vmstat(8) output:Igor Sobrado
- the "fre" column width is increased - adds a whitespace between the "avm" and "fre" columns - aligns the "memory" and "traps" labels with their column sets ok millert@
2007-10-24add missing checks against NULL after realloc callsCharles Longeau
Ok gilles@ moritz@
2007-10-23add missing checks against NULL on last.dk_rbytes and last.dk_wbytesCharles Longeau
reorder operations to make it easier to read and check From Igor Zinovik <zinovik@cs.karelia.ru> "looks ok" otto@ "looks correct" ray@ ok gilles@ "looks fine" moritz@
2007-09-13Use a sig_atomic_t instead of an int when setting it from a signal handlerChad Loder
2007-05-31convert to new .Dd format;Jason McIntyre
2006-10-02Fix error messages, okay ray@ deraadt@Pedro Martelletto
2006-06-13fix a pasto in a comment: wxfers are for writes, not reads.David Gwynne
found by deanna
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