Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2005 21:13:32 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Eric Anderson <anderson@centtech.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: ufsstat - testers / feedback wanted! 
Message-ID:  <9165.1129230812@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 13 Oct 2005 06:36:32 CDT." <434E46C0.7060903@centtech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <434E46C0.7060903@centtech.com>, Eric Anderson writes:
>[resend to -current for broader test audience]
>
>I've just finished the first version of ufsstat, a tool to show local
>filesystem statistics much like nfsstat does for NFS.

I would far to prefer to see a generic method that would work
on all filesystems types, rather than a ufs specific tool.

If you added counting code to the VOP_FOO() expansions, you should
be able to gather statistics for all filesystem types.

The collection could be controlled by a mount option if the impact
is too big.

-- 
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.



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