Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 1998 16:31:42 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        gpalmer@FreeBSD.ORG (Gary Palmer)
Cc:        current@FreeBSD.ORG, jimhart@webspan.net
Subject:   Re: DK_NDRIVE
Message-ID:  <199804272231.QAA28863@panzer.plutotech.com>
In-Reply-To: <14000.893709547@gjp.erols.com> from Gary Palmer at "Apr 27, 98 04:39:07 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Palmer wrote...
> 
> Since more and more systems now have >> 8 drives, could we increase the
> constant in <sys/dkstat.h> so that iostat, systat et all can see them?
> Or perhaps depreciate dkstat in favour of exporting some other way?
> Compile time constants like this are annoying...

	Don't worry about it, it's already been done.  The devstat code
that is in the CAM tree will hopefully replace the dk* stuff.  It
dynamically adjusts to the number of devices in the system, and all devices
are accessible via iostat or whatever else.  (the devices are exported
using a sysctl variable)

	Once I get done porting systat and vmstat, we may be able to look
at putting the devstat stuff into -current.  (iostat is already done)

	If you want to take a look at the CAM stuff, look at:

ftp://ftp.FreeBSD.org/pub/FreeBSD/cam/README
or
ftp://ftp.kdm.org/pub/FreeBSD/cam/README

	for the requirements for running it.  The patches vs. current are
in the same directory.  The files to look at for the devstat code are:

src/sys/kern/subr_devstat.c
src/sys/sys/devicestat.h
src/usr.sbin/iostat/*

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804272231.QAA28863>