summaryrefslogtreecommitdiffstats
path: root/linux/Platform.h
diff options
context:
space:
mode:
authorRoss Williams <ross@ross-williams.net>2019-07-07 02:37:02 +0000
committerRoss Williams <ross@ross-williams.net>2019-07-07 22:57:15 -0400
commit070fe90461182743fabb029415fc1bc59be14f3f (patch)
treec1ce5424b6676e2b81ae568f748f3eb5dbea09ea /linux/Platform.h
parenta93edde1a21e533472b5d443002032260b5bd066 (diff)
ZFS arcstats for Linux
If no pools are imported (ARC size == 0) or the ZFS module is not in the kernel (/proc/spl/kstat/zfs/arcstats does not exist), then the Meter reports "Unavailable".
Diffstat (limited to 'linux/Platform.h')
-rw-r--r--linux/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/Platform.h b/linux/Platform.h
index b0456e5b..e775181e 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -43,6 +43,8 @@ void Platform_setMemoryValues(Meter* this);
void Platform_setSwapValues(Meter* this);
+void Platform_setZfsArcValues(Meter* this);
+
char* Platform_getProcessEnv(pid_t pid);
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy