summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/dkstats.c
AgeCommit message (Expand)Author
2003-06-18Add missing check for i < dk_ndrive in 2 loops; closes PR 3322Todd C. Miller
2002-12-16Make systat(1), iostat(8) and vmstat(8) automatically update their diskThierry Deval
2002-09-17ansiTheo de Raadt
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-23if NOKVM is defined, do not do the KVM stuff at allTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-07-21plug mem leak; zero right amount of memTheo de Raadt
2001-06-03Read struct diskstats from the kernel.Angelos D. Keromytis
2001-05-14No need to use calloc gratuitously.Angelos D. Keromytis
2001-05-14Use warn() consistently.Angelos D. Keromytis
2001-05-14Use the sysctl-based diskstats for live kernels. deraadt@ okAngelos D. Keromytis
2001-01-02check for another allocation failureTheo de Raadt
2000-10-03More format string paranoia; deraadt@ okAaron Campbell
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1999-06-21stop casting the third argument to kvm_read to char *. it is a void *.Artur Grabowski
1997-06-23Move prototypes into dkstats.h so systat can get at them.Todd C. Miller
1997-02-04deleted warnx() about "no drives attached" since dkinit() is used in curses a...kstailey
1996-06-26rcsidTheo de Raadt
1996-05-22libutilTheo de Raadt
1996-03-03Working disk statistics; NetBSD PR 2160Thorsten Lockert