From 208aeb0c48fd8db06039f9dd071c83d05ec7d557 Mon Sep 17 00:00:00 2001 From: Wiktor Niesiobedzki Date: Wed, 10 Mar 2010 22:53:01 +0100 Subject: [PATCH] Initial version --- plugins/other/zfs_cache_efficiency | 231 +++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100755 plugins/other/zfs_cache_efficiency diff --git a/plugins/other/zfs_cache_efficiency b/plugins/other/zfs_cache_efficiency new file mode 100755 index 00000000..7ea7a7a7 --- /dev/null +++ b/plugins/other/zfs_cache_efficiency @@ -0,0 +1,231 @@ +#!/bin/sh +# ZFS ARC statistics for FreeBSD +# Author alex@trull.org: +# +#%# family=auto +#%# capabilities=autoconf + +sysctl='/sbin/sysctl' + +case $1 in + config) + cat <