Code

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 f0d23239a82ab158c03c669f9a96cf2fc7f8dd24..dd633d5f2287352969f1619f553c105eccd7eade 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.