summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/dkstats.h
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2002-12-16 01:57:06 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2002-12-16 01:57:06 +0000
commitda3a34e76ccd83612ffbc890187c29ee4b2960c9 (patch)
tree5e7c9b8bb5df4f4ec21ea8156ecd837aee78b2e9 /usr.bin/vmstat/dkstats.h
parent8d617ca6e54dc39ece5af3b3a927e2dbbe2d3f1f (diff)
Make systat(1), iostat(8) and vmstat(8) automatically update their disk
statistics when a device is added/removed. ok deraadt@
Diffstat (limited to 'usr.bin/vmstat/dkstats.h')
-rw-r--r--usr.bin/vmstat/dkstats.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vmstat/dkstats.h b/usr.bin/vmstat/dkstats.h
index 231b7aa9240..5080d7f5d2f 100644
--- a/usr.bin/vmstat/dkstats.h
+++ b/usr.bin/vmstat/dkstats.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkstats.h,v 1.7 2002/02/16 21:27:58 millert Exp $ */
+/* $OpenBSD: dkstats.h,v 1.8 2002/12/16 01:57:04 tdeval Exp $ */
/* $NetBSD: dkstats.h,v 1.1 1996/05/10 23:19:28 thorpej Exp $ */
/*
@@ -38,6 +38,7 @@
/* poseur disk entry to hold the information we're interested in. */
struct _disk {
+ int dk_ndrive; /* # of drives. */
int *dk_select; /* Display stats for selected disks. */
char **dk_name; /* Disk names (sd0, wd1, etc). */
u_int64_t *dk_xfer; /* # of transfers. */