projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a761816
)
Added more data to ZFS stats, c, c_min, and c_max for bettering monitoring arc usage
author
Brian ONeill
<btoneill@walleyesoftware.com>
Thu, 6 Aug 2015 20:12:33 +0000
(16:12 -0400)
committer
Brian ONeill
<btoneill@walleyesoftware.com>
Thu, 6 Aug 2015 20:12:33 +0000
(16:12 -0400)
src/zfs_arc.c
patch
|
blob
|
history
diff --git
a/src/zfs_arc.c
b/src/zfs_arc.c
index
f0d2323
..
dd633d5
100644
(file)
--- a/
src/zfs_arc.c
+++ b/
src/zfs_arc.c
@@
-251,6
+251,9
@@
static int za_read (void)
/* Sizes */
za_read_gauge (ksp, "size", "cache_size", "arc");
+ za_read_gauge (ksp, "c", "cache_size", "c");
+ za_read_gauge (ksp, "c_min", "cache_size", "c_min");
+ za_read_gauge (ksp, "c_max", "cache_size", "c_max");
/* The "l2_size" value has disappeared from Solaris some time in
* early 2013, and has only reappeared recently in Solaris 11.2.