diff options
author | Sven Nierlein <sven@nierlein.org> | 2019-02-19 21:49:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 21:49:13 +0100 |
commit | 555559fd303825e02c0aa196194ae15a2e88aadc (patch) | |
tree | abebf547da25660bd158896bef8420de72811d55 /gl/fsusage.h | |
parent | 931ed78b5dc062fff33652d87406f1547da5ddbe (diff) | |
parent | 270e7cba3830328424e3f2b6b9a6989b1ea5f89b (diff) | |
download | monitoring-plugins-555559fd303825e02c0aa196194ae15a2e88aadc.tar.gz |
Merge pull request #1567 from vdanjean/master
[check_disk] add support to display inodes usage in perfdata
Diffstat (limited to 'gl/fsusage.h')
-rw-r--r-- | gl/fsusage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gl/fsusage.h b/gl/fsusage.h index 7810fc01..e2654fd8 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 | ||
38 | int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp); | 39 | int get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp); |