From owner-freebsd-scsi Mon Nov 22 20:15:41 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from aurora.sol.net (aurora.sol.net [206.55.65.76]) by hub.freebsd.org (Postfix) with ESMTP id 73C2D14ED7 for ; Mon, 22 Nov 1999 20:15:38 -0800 (PST) (envelope-from jgreco@aurora.sol.net) Received: (from jgreco@localhost) by aurora.sol.net (8.9.2/8.9.2/SNNS-1.02) id WAA96502; Mon, 22 Nov 1999 22:15:09 -0600 (CST) From: Joe Greco Message-Id: <199911230415.WAA96502@aurora.sol.net> Subject: Re: ncrcontrol-like utility for CAM? To: ken@plutotech.com Date: Mon, 22 Nov 1999 22:15:09 -0600 (CST) Cc: scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Joe Greco wrote... > > Will there be an ncrcontrol-like utility for CAM? I'm mainly interested > > in statistics, and was unable to find anything obvious after looking over > > the CAM stuff in 3.0-19981015-BETA. It'd be a nice addition, and it was > > a feature I had always missed with the ahc (and others) driver. > > What kind of statistics? Most interesting statistics should be available > through systat(1), iostat(8) and vmstat(8). > > There are other stats that are recorded in the devstat(9) system, but that > aren't displayed in the stats-display utilities. (like the number of > ordered tags, number of outstanding transactions) There's a program on my > ftp site that will dump out the contents of all the devstat(9) structures > in the system: > > ftp://ftp.kdm.org/pub/FreeBSD/cam/ds.c > > If there are stats that aren't available that you'd like to see, let me > know so I can keep them in mind for future enhancements. Well, yes... heh, I sort of lost this thread a year ago. :-) I'd really like to see per-bus statistics. i.e. I'd like to be able to tell that the reason I'm seeing 3MB/sec to an UW drive on scbus0 is because scbus0 is maxxed out (which you could determine if you had overall bus stats for scbus0...) I _think_ ncrcontrol provided that sort of information... ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message