Added more data to ZFS stats, c, c_min, and c_max for bettering monitoring arc usage
authorBrian ONeill <btoneill@walleyesoftware.com>
Thu, 6 Aug 2015 20:12:33 +0000 (16:12 -0400)
committerBrian ONeill <btoneill@walleyesoftware.com>
Thu, 6 Aug 2015 20:12:33 +0000 (16:12 -0400)
src/zfs_arc.c

index f0d2323..dd633d5 100644 (file)
@@ -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.