summaryrefslogtreecommitdiff
path: root/usr.bin/systat/vmstat.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-20don't reuse global between functions; the value is wrong.Ted Unangst
2018-11-17Add new KERN_CPUSTATS sysctl(2) so we can identify offline CPUs.cheloha
2018-10-05Revert KERN_CPTIME2 ENODEV changes in kernel and userspace.cheloha
2018-09-26KERN_CPTIME2: set ENODEV if the CPU is offline.cheloha
2018-06-22Constrain IPKTS/OPKTS from floating down beyond the rest of theKenneth R Westerback
2018-05-19Do not ignore nice time in systat(1). The sum would not be 100%,Alexander Bluhm
2018-05-14Stopping counting and reporting CPU time spent spinning on a lock asMartin Pieuchot
2018-05-03test for failing allocation using the standard idiom; prompted by Nan XiaoOtto Moerbeek
2016-12-18Remove statements that have no effect from X(), Y() and Z() #define's.Kenneth R Westerback
2016-08-24Convert quad_t to int64_t and %q to %llPhilip Guenther
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-01-16first batch of programs adapting to the namespace cleanupTheo de Raadt
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-04-08Use VM_UVMEXP instead of VM_METER for memory usages and directlyMartin Pieuchot
2013-10-31sometimes we find .h we no longer needTheo de Raadt
2013-05-14Don't display swapin/swapout uvmexp fieldsMiod Vallat
2010-11-19Make KERN_CPTIME return an avarage number of ticks across all CPUsMike Belopuhov
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-08-14tie IPKTS/OPKTS to bottom corner for smaller screensTheo de Raadt
2009-08-13there are louder and louder moans about the inability to see packetTheo de Raadt
2009-05-03Hinge at the natural rollover point 9999x instead of 1024x when switching toDale Rahn
2009-03-30allow the disk transfer speed numbers to show useable numbers when disksTheo de Raadt
2008-12-07Warning cleanup including unused variables and shadowed namesCan Erkin Acar
2008-11-01Improve reporting of cache misses in the vmstat view. PreviouslyCan Erkin Acar
2008-06-13compile on older gcc; no decl after codeTheo de Raadt
2008-06-12New display engine for systat, based on pftop. Adds new views for pfCan Erkin Acar
2007-09-01malloc(n * m) -> calloc(n, m); from zinovikTheo de Raadt
2007-02-25use the 1 line load line from 'systat vm' on all the other displays, givingTheo de Raadt
2006-11-13fix macro abuse leading to stray numbers in the vm display.Otto Moerbeek
2006-04-14remove comments that says we dont count intr time and remove some code thatDavid Gwynne
2006-04-14show cpu time spent in interrupts. ive been wanting this for years.David Gwynne
2006-03-31spacingTheo de Raadt
2006-03-31fairly simple cleanup, lots of testing doneTheo de Raadt
2006-03-28give more space to the memory columns in vm page; deraadt@ okMichael Shalayeff
2005-09-28- when we run out of static kernel map entries, grab a fresh page usingPedro Martelletto
2005-04-04nlist.h not neededTheo de Raadt
2004-09-23adapt to KERN_INTRCNT_CNT returning a quad, from danh (imported now toTheo de Raadt
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
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
2004-05-22with modern disks data transfers rates above 10000 kByte/s are seenHenning Brauer
2004-04-23don't print stats until they're stable, prevents seeing weird stuff inTed Unangst
2004-02-15'split' command for iostat modeTed Unangst
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2003-10-16duhMichael Shalayeff
2003-10-15also print the uvmexp.zeropages if there is space in vm screenMichael Shalayeff