From bf58070fb6601b24d075a640e28266a3daf4f73f Mon Sep 17 00:00:00 2001 From: Brian ONeill Date: Thu, 6 Aug 2015 16:12:33 -0400 Subject: [PATCH] Added more data to ZFS stats, c, c_min, and c_max for bettering monitoring arc usage --- src/zfs_arc.c | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.11.0