Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 00:02:36 -0400
From:      "J. Hellenthal" <jhellenthal@dataix.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        fs@freebsd.org
Subject:   Re: [PATCH] Simple ARC stats in top
Message-ID:  <20120626040235.GA57300@DataIX.net>
In-Reply-To: <201206251443.41768.jhb@freebsd.org>
References:  <201206251443.41768.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



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 simpl=
istic=20
> ARC stats to top so that one can see how much of wired memory is set asid=
e for=20
> ARC, and how that memory is split up.  The patch is against 8-stable:
> http://www.FreeBSD.org/~jhb/patches/top_arc.patch
>=20
> Sample output:
>=20
> 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
>=20
> Comments, etc.?
>=20

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.

--=20

 - (2^(N-1))

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJP6TRbAAoJEBSh2Dr1DU7WWiwIAISN0edWCkQTLhG4EZaMWQ5x
R0KQDD/VYQPhVUTVL5GnCeug6zikJ2TAZUD6VAT0N0QfKb+/MFaUoQSmOzcTuAFA
9GJHhxzirMwFeOEpHYXsF91duLY7fXbS4HhrD3oNxe6VLxSKbovZK5FdTy01KgXh
5pTUChYnFWcFlpdUA6gSCCS9vT3GZwdoFbhTfoSLVCksowp2njqmEXJpvsTSuUkj
gjjys3gkUPvfeOBQSIDABwbA4B8LHoSlcPwUKWwWXw/eB9RAvIDGwbjL9+JpvI0f
bnhwIuqc8n+Pz9IC+Lk1heWeasfO3ppLosQ6Y4qH9wY6ZbEUUZsi0TuWahaGocU=
=+qH5
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--



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