diff options
author | jhb <jhb@FreeBSD.org> | 2012-06-27 18:08:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-06-27 18:08:48 +0000 |
commit | a461bd15071993dd2121ed8ddfaee9fef880cd56 (patch) | |
tree | 35d3ccc9768fc207017486150335cd6c1e66bfc4 /usr.bin/top/top.local.1 | |
parent | 31577c974349e71766902ec165bf02f12c744838 (diff) | |
download | FreeBSD-src-a461bd15071993dd2121ed8ddfaee9fef880cd56.zip FreeBSD-src-a461bd15071993dd2121ed8ddfaee9fef880cd56.tar.gz |
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
Diffstat (limited to 'usr.bin/top/top.local.1')
-rw-r--r-- | usr.bin/top/top.local.1 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.bin/top/top.local.1 b/usr.bin/top/top.local.1 index a674828..864ab8d 100644 --- a/usr.bin/top/top.local.1 +++ b/usr.bin/top/top.local.1 @@ -3,6 +3,7 @@ .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: @@ -16,6 +17,7 @@ Gigabyte .TP .B %: 1/100 +.SS Physical Memory Stats .TP .B Active: number of bytes active @@ -35,6 +37,27 @@ 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 |