summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/dkstats.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* rename variable to avoid shadow. from Brian Callahantedu2017-05-301-7/+7
* straightforward realloc -> reallocarray conversiontb2016-09-041-53/+53
* Replace bzero with memset. No binary change.mmcc2015-12-241-6/+6
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
* Remove non-standard <sys/dkstat.h> header. It has not contained anythingmiod2014-09-151-2/+2
* Now that HW_DISKNAMES returns xx0: or xx0:uid entries, we must truncatederaadt2010-09-241-2/+13
* Remove setresguid since it is no longer needed.lum2010-07-201-11/+1
* typos; ok jmc@martynas2007-11-261-2/+2
* add missing checks against NULL after realloc callschl2007-10-241-1/+19
* add missing checks against NULL on last.dk_rbytes and last.dk_wbyteschl2007-10-231-6/+7
* spacingderaadt2006-03-311-7/+7
* lint-driven cleanup. nothing too scary in this diff.deraadt2006-03-311-17/+21
* delint; from David Hillotto2006-03-131-4/+4
* Use queue macros instead of directly accessing fields. ok pat@ "put itotto2005-10-171-4/+4
* make these use setres[ug]id for simple privilege dropping;djm2005-07-041-7/+9
* Fix pasto in realloc portion of dkreadstats; from Pedro Martellettomillert2004-04-221-3/+3
* new arg to disk_unbusy, to record separate read/write statistics.tedu2004-02-151-40/+77
* Add missing check for i < dk_ndrive in 2 loops; closes PR 3322millert2003-06-181-9/+6
* Make systat(1), iostat(8) and vmstat(8) automatically update their disktdeval2002-12-161-25/+162
* ansideraadt2002-09-171-8/+5
* only open kvm once between these twoderaadt2002-08-041-3/+12
* wrap NOKVM variables tooderaadt2002-06-281-1/+9
* mark which nlist[] kmem entries are not needed in the sysctl case, and which arederaadt2002-06-191-14/+14
* Missing newline at end of file. from krausedrahn2002-06-081-2/+2
* if NOKVM is defined, do not do the KVM stuff at allderaadt2002-05-231-19/+29
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-2/+2
* plug mem leak; zero right amount of memderaadt2001-07-211-2/+3
* Read struct diskstats from the kernel.angelos2001-06-031-10/+11
* No need to use calloc gratuitously.angelos2001-05-141-3/+3
* Use warn() consistently.angelos2001-05-141-6/+6
* Use the sysctl-based diskstats for live kernels. deraadt@ okangelos2001-05-141-43/+135
* check for another allocation failurederaadt2001-01-021-4/+6
* More format string paranoia; deraadt@ okaaron2000-10-031-2/+2
* warnx?/errx? paranoia (use "%s" not a bare string unless it is amillert2000-06-301-2/+2
* stop casting the third argument to kvm_read to char *. it is a void *.art1999-06-211-2/+2
* Move prototypes into dkstats.h so systat can get at them.millert1997-06-231-4/+1
* deleted warnx() about "no drives attached" since dkinit() is used in curses apps like systatkstailey1997-02-041-4/+1
* rcsidderaadt1996-06-261-0/+1
* libutilderaadt1996-05-221-4/+4
* Working disk statistics; NetBSD PR 2160tholo1996-03-031-0/+271