[PATCH] Simple ARC stats in top

J. Hellenthal jhellenthal at dataix.net
Tue Jun 26 04:02:39 UTC 2012



On Mon, Jun 25, 2012 at 02:43:41PM -0400, John Baldwin wrote:
> I have some patches based on a script I got from avg@ that add some simplistic 
> ARC stats to top so that one can see how much of wired memory is set aside for 
> ARC, and how that memory is split up.  The patch is against 8-stable:
> http://www.FreeBSD.org/~jhb/patches/top_arc.patch
> 
> Sample output:
> 
> Mem: 1245M Active, 1393M Inact, 21G Wired, 309M Buf, 23G Free
> ARC: 19G Total, 1381M MRU, 17G MFU, 272K Anon, 232M Header, 442M Other
> Swap: 8192M Total, 8192M Free
> 
> Comments, etc.?
> 

Run with it!

Only question I can come up with throughout this patch is how would it
act on a system that was built WITHOUT_ZFS ?

I just tested it out on a machine where there is no ZFS and one where
there is and its golden. I don't have the resources to test for
WITHOUT_ZFS though.

-- 

 - (2^(N-1))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120626/993dafda/attachment.pgp


More information about the freebsd-fs mailing list