summaryrefslogtreecommitdiff
path: root/usr.bin/systat/vmstat.c
AgeCommit message (Collapse)Author
2004-07-09remove post-mortem stuff (sysctl only here)Theo de Raadt
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-11divide etime by ncpuTheo de Raadt
2004-06-11oopsTheo 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-05-22with modern disks data transfers rates above 10000 kByte/s are seenHenning Brauer
regularily, make the disk columns a little wider so it doesn't run into the neighboring column, theo ok
2004-04-23don't print stats until they're stable, prevents seeing weird stuff inTed Unangst
disk columns. tested by jolan@. from pedro martelletto
2004-02-15'split' command for iostat modeTed Unangst
from Pedro Martelletto <pbastos@rdc.puc-rio.br>
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>
2003-10-16duhMichael Shalayeff
2003-10-15also print the uvmexp.zeropages if there is space in vm screenMichael Shalayeff
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-14remove old commentTheo de Raadt
2003-04-08string cleaning; ok tdevalTheo de Raadt
2003-02-28intrcnt's are ints not longs (at least according to the new kern.intrcnt stuff)Jason Wright
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-06-19mark which nlist[] kmem entries are not needed in the sysctl case, and which areTheo de Raadt
2002-06-18ANSITheo de Raadt
2002-04-29Fix 32bit int oflow when there is > 2GB vm; peters AT telia DOT netTodd C. Miller
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-16Some disk names are longer than 4. Cope with that.Thierry Deval
ok deraadt@
2001-12-07move back. pvalchev -- the bug was quite obscureTheo de Raadt
2001-12-07back out latest changes which cause problems on alpha/sparc64 untilPeter Valchev
they are fixed
2001-11-23fix signal races. use sysctl() instead of kvm where possible, and then KNFTheo de Raadt
the hell out of it; checked by miod
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-18slightly expand the Csw/Trp/Sys/Int/Sof spacingTheo de Raadt
2001-11-06New vm includes.Artur Grabowski
2001-08-28Add information on number/percentage of namei calls missed the cache.Tobias Weingartner
millert@ ok.
2001-06-27UVM is no longer an optionArtur Grabowski
2001-06-22use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-05-04handle kvm_nlist() failing, from pr#1798.Eric Jackson
Patch similar to the one submitted by <peterw@documenta.com.au>
2000-02-22_total is no longer a symbol in the kernelTheo de Raadt
1999-10-26Fix printing of interrupts with UVM.Artur Grabowski
1999-10-26support UVM. (much code from NetBSD)Artur Grabowski
1999-06-16Fixed i386 -> __i386__Marc Espie
1998-12-19move Act Free field over oneTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
1998-06-12fix vm load displayMarco S Hyman
1997-12-19comment this strncpy is safeTheo de Raadt
1997-12-19proactive buffer blocksTheo de Raadt
1997-12-19bye bye sprintfTheo de Raadt
1997-11-24Deal with the fact that PUTRATE() is a macro that contains braces bykstailey
surrounding it with braces after an ``if ()''.
1997-11-22remove unused kernel varsMichael Shalayeff
1997-11-22back out 1.8, will fix in another way.kstailey
1997-11-22Make vmstat mode display actually fit in 80x24.kstailey
Exploits fact that swap display is always blank.
1997-07-29delete accidental #if 0flipk
1997-07-291) display full time string in 'vmstat' display so you can tellflipk
the difference between an inactive display and a hung machine. 2) Update the man page for 'vmstat' to reflect reality (and actually explain all those vm abbreviations). netbsd PR bin/2756 (Jonathan Stone <jonathan@DSG.Stanford.EDU>
1996-12-20support four letter device namesJason Downs
1996-06-26rcsidTheo de Raadt
1996-06-25Show interrupt counts on i386.Thorsten Lockert