summaryrefslogtreecommitdiffstats
path: root/gl/fsusage.h
diff options
context:
space:
mode:
authorVincent Danjean <vdanjean@debian.org>2018-12-08 20:51:05 (GMT)
committerVincent Danjean <Vincent.Danjean@ens-lyon.org>2018-12-08 21:44:42 (GMT)
commit270e7cba3830328424e3f2b6b9a6989b1ea5f89b (patch)
tree99c01ee12cbad2ec381551156190a5e0135bbe44 /gl/fsusage.h
parentac6f101f057caa3083c092537e6dff97328cfd44 (diff)
downloadmonitoring-plugins-270e7cba3830328424e3f2b6b9a6989b1ea5f89b.tar.gz
[check_disk] add support to display inodes usage in perfdatarefs/pull/1567/head
This is not enabled by default It can be enabled with the -P (--iperfdata) option
Diffstat (limited to 'gl/fsusage.h')
-rw-r--r--gl/fsusage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gl/fsusage.h b/gl/fsusage.h
index 7810fc0..e2654fd 100644
--- a/gl/fsusage.h
+++ b/gl/fsusage.h
@@ -32,7 +32,8 @@ struct fs_usage
32 uintmax_t fsu_bavail; /* Free blocks available to non-superuser. */ 32 uintmax_t fsu_bavail; /* Free blocks available to non-superuser. */
33 bool fsu_bavail_top_bit_set; /* 1 if fsu_bavail represents a value < 0. */ 33 bool fsu_bavail_top_bit_set; /* 1 if fsu_bavail represents a value < 0. */
34 uintmax_t fsu_files; /* Total file nodes. */ 34 uintmax_t fsu_files; /* Total file nodes. */
35 uintmax_t fsu_ffree; /* Free file nodes. */ 35 uintmax_t fsu_ffree; /* Free file nodes to superuser. */
36 uintmax_t fsu_favail; /* Free file nodes to non-superuser. */
36}; 37};
37 38
38int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp); 39int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp);