From: Ruben Kerkhof Date: Wed, 27 Apr 2016 11:07:38 +0000 (+0200) Subject: zfs_arc plugin: add memory_throttle_count stat X-Git-Tag: collectd-5.6.0~301^2~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a14e7d028532ae06e5ea3e4d89bafcfcb3481467;p=collectd.git zfs_arc plugin: add memory_throttle_count stat This tells you how often the ARC has been shrunk to release memory for other processes. --- diff --git a/src/types.db b/src/types.db index deae1afa..0c5a4334 100644 --- a/src/types.db +++ b/src/types.db @@ -111,6 +111,7 @@ memcached_octets rx:DERIVE:0:U, tx:DERIVE:0:U memcached_ops value:DERIVE:0:U memory value:GAUGE:0:281474976710656 memory_lua value:GAUGE:0:281474976710656 +memory_throttle_count value:DERIVE:0:U multimeter value:GAUGE:U:U mutex_operations value:DERIVE:0:U mysql_bpool_bytes value:GAUGE:0:U diff --git a/src/zfs_arc.c b/src/zfs_arc.c index 3354de80..e4b92a5e 100644 --- a/src/zfs_arc.c +++ b/src/zfs_arc.c @@ -295,6 +295,7 @@ static int za_read (void) /* Issue indicators */ za_read_derive (ksp, "mutex_miss", "mutex_operations", "miss"); za_read_derive (ksp, "hash_collisions", "hash_collisions", ""); + za_read_derive (ksp, "memory_throttle_count", "memory_throttle_count", ""); /* Evictions */ za_read_derive (ksp, "evict_l2_cached", "cache_eviction", "cached");