summaryrefslogtreecommitdiff
path: root/src/mongo/util/procparser.h
diff options
context:
space:
mode:
authorsergey.galtsev <sergey.galtsev@mongodb.com>2021-10-29 09:57:11 -0700
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-08 18:02:01 +0000
commit5f04013763ead1af8e3652c195453f26e4df77bc (patch)
treed0ca783a6181ce377c823fccc465d2526cb922c0 /src/mongo/util/procparser.h
parent50e3fbc125ef9a1a0b020f86bcec4aeb629d7180 (diff)
downloadmongo-5f04013763ead1af8e3652c195453f26e4df77bc.tar.gz
SERVER-28953 Capture mount statistics in FTDC
Diffstat (limited to 'src/mongo/util/procparser.h')
-rw-r--r--src/mongo/util/procparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/util/procparser.h b/src/mongo/util/procparser.h
index 5c2d106665b..55f6c3c296f 100644
--- a/src/mongo/util/procparser.h
+++ b/src/mongo/util/procparser.h
@@ -129,6 +129,11 @@ Status parseProcDiskStatsFile(StringData filename,
BSONObjBuilder* builder);
/**
+ * Read from file, and write the used/free space data for available mounts.
+ */
+Status parseProcSelfMountStatsFile(StringData filename, BSONObjBuilder* builder);
+
+/**
* Get a vector of disks to monitor by enumerating the specified directory.
*
* If the directory does not exist, or otherwise permission is denied, returns an empty vector.