From owner-freebsd-current Thu Mar 20 12:57: 8 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B22D37B404 for ; Thu, 20 Mar 2003 12:57:06 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC33F43F75 for ; Thu, 20 Mar 2003 12:57:04 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.8/8.12.8) with ESMTP id h2KKv11f001287 for ; Thu, 20 Mar 2003 21:57:02 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/gstat Makefile gstat.c From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 20 Mar 2003 12:48:41 PST." <200303202048.h2KKmgOK057174@repoman.freebsd.org> Date: Thu, 20 Mar 2003 21:57:01 +0100 Message-ID: <1286.1048193821@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200303202048.h2KKmgOK057174@repoman.freebsd.org>, Poul-Henning Kamp writes: >phk 2003/03/20 12:48:41 PST > > Log: > Add a rudimentary gstat(8) to the system. The GEOM/devstat statistics has very fine granularity and can be read with very high resolution if one wants to. This means that you can see exactly how much of your disk-I/O comes from for instance your /var filesystem, and you can see how it is distributed over time down to the millisecond level. "This is one of the most significant sources we have on the subject, unfortunately we cannot decipher it, so it is utterly insignificant" -- Robert Storm Petersen This program however, is a just a small, almost minimal, proof-of-concept to show how to pick up the stats and make some amount of sense out of them. I am no great curses programmer[1], and the messes I make increase in size with the distance I move away from the hardware, so I really hope somebody will take a fancy to this gadget and turn it into the tool it should end up as. Poul-Henning [1] see sysinstall's disk editor. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message