1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin/top/top.local.1
John Baldwin 2e52fb92ff Add a new line to top that provides a brief summary of the ZFS ARC memory
usage on hosts using ZFS.  The new line displays the total amount of RAM
used by the ARC along with the size of MFU, MRU, anonymous (in flight),
headers, and other (miscellaneous) sub-categories.  The line is not
displayed on systems that are not using ZFS.

Reviewed by:	avg, fs@
MFC after:	3 days
2012-06-27 18:08:48 +00:00

76 lines
1.3 KiB
Groff

.\" $FreeBSD$
.SH "FreeBSD NOTES"
.SH DESCRIPTION OF MEMORY
Mem: 9220K Active, 1M Inact, 3284K Wired, 1M Cache, 2M Buf, 1320K Free
ARC: 2048K Total, 342K MRU, 760K MFU, 272K Anon, 232K Header, 442K Other
Swap: 91M Total, 79M Free, 13% Inuse, 80K In, 104K Out
.TP
.B K:
Kilobyte
.TP
.B M:
Megabyte
.TP
.B G:
Gigabyte
.TP
.B %:
1/100
.SS Physical Memory Stats
.TP
.B Active:
number of bytes active
.TP
.B Inact:
number of bytes inactive
.TP
.B Wired:
number of bytes wired down, including BIO-level cached file data pages
.TP
.B Cache:
number of clean bytes caching data that are available for
immediate reallocation
.TP
.B Buf:
number of bytes used for BIO-level disk caching
.TP
.B Free:
number of bytes free
.SS ZFS ARC Stats
These stats are only displayed when the ARC is in use.
.TP
.B Total:
number of wired bytes used for the ZFS ARC
.TP
.B MRU:
number of ARC bytes holding most recently used data
.TP
.B MFU:
number of ARC bytes holding most frequently used data
.TP
.B Anon:
number of ARC bytes holding in flight data
.TP
.B Header:
number of ARC bytes holding headers
.TP
.B Other
miscellaneous ARC bytes
.SS Swap Stats
.TP
.B Total:
total available swap usage
.TP
.B Free:
total free swap usage
.TP
.B Inuse:
swap usage
.TP
.B In:
bytes paged in from swap devices (last interval)
.TP
.B Out:
bytes paged out to swap devices (last interval)