[PATCH] Simple ARC stats in top

Freddie Cash fjwcash at gmail.com
Wed Jun 27 21:54:22 UTC 2012


On Mon, Jun 25, 2012 at 11:43 AM, John Baldwin <jhb at freebsd.org> 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

Very nice!  Have it installed on two FreeBSD 9-STABLE r236413 boxes
with 24-drive pools and 32-48 GB of RAM.

Hoping it will help me track down a memory issue with importing a pool.  :)

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-fs mailing list