From: Brian ONeill Date: Thu, 6 Aug 2015 20:12:33 +0000 (-0400) Subject: Added more data to ZFS stats, c, c_min, and c_max for bettering monitoring arc usage X-Git-Tag: collectd-5.6.0~598^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bf58070fb6601b24d075a640e28266a3daf4f73f;p=collectd.git Added more data to ZFS stats, c, c_min, and c_max for bettering monitoring arc usage --- diff --git a/src/zfs_arc.c b/src/zfs_arc.c index f0d23239..dd633d5f 100644 --- 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.