Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2003 21:57:01 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/gstat Makefile gstat.c 
Message-ID:  <1286.1048193821@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 20 Mar 2003 12:48:41 PST." <200303202048.h2KKmgOK057174@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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