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 /contrib/top/layout.h | |
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 'contrib/top/layout.h')
-rw-r--r-- | contrib/top/layout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/top/layout.h b/contrib/top/layout.h index 1b2564e..a04fce2 100644 --- a/contrib/top/layout.h +++ b/contrib/top/layout.h @@ -19,6 +19,8 @@ extern int x_brkdn; /* 15 */ extern int y_brkdn; /* 1 */ extern int x_mem; /* 5 */ extern int y_mem; /* 3 */ +extern int x_arc; /* 5 */ +extern int y_arc; /* 4 */ extern int x_swap; /* 6 */ extern int y_swap; /* 4 */ extern int y_message; /* 5 */ |