From owner-freebsd-current Fri Mar 16 10: 2:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id CA1A837B719 for ; Fri, 16 Mar 2001 10:02:28 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.1) id f2GI2L329169; Fri, 16 Mar 2001 12:02:21 -0600 (CST) (envelope-from dan) Date: Fri, 16 Mar 2001 12:02:21 -0600 From: Dan Nelson To: Alfred Perlstein Cc: "Sergey A. Osokin" , current@FreeBSD.ORG Subject: Re: libdevstat Message-ID: <20010316120221.A23314@dan.emsphone.com> References: <20010316181315.A91097@freebsd.org.ru> <20010316092730.C1800@dan.emsphone.com> <20010316192727.A97376@freebsd.org.ru> <20010316084351.A29888@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.14i In-Reply-To: <20010316084351.A29888@fw.wintelcom.net>; from "Alfred Perlstein" on Fri Mar 16 08:43:51 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 16), Alfred Perlstein said: > > > In the last episode (Mar 16), Sergey A. Osokin said: > > > > What do you think about add to libdevstat in/out/other > > > > statistics? I think transfer great too, but sometimes that's > > > > not enough. iostat can't show read and write stats separatly, > > > > because compute_stats from libdevstat simply sum up all results > > > > (in/out/other). > > I think what he's saying is that libdevstat is OK, it's just that the > tools that use it sum up the stats instead of displaying them > inidividually. > > I would look at fixing iostat because libdevstat seems to provide all > the data needed. Yep, that's what I meant. If anyone is planning on adding features to iostat, Solaris has some nice features to copy: -x rotates the output so each drive gets its own line, with the following info: r/s w/s kr/s kw/s wait actv svc_t %w %b So "iostat -x n 23 2" prints a full-screen display of the first 23 drives in your system, updated every 2 seconds. http://www.FreeBSD.org/cgi/man.cgi?query=iostat&manpath=SunOS+5.8 -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message