blob: 53cb1e3a2823949d358a0aeaa2650de245585b96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/Interpreters/AsynchronousMetrics.cpp.orig 2021-07-17 10:04:30 UTC
+++ src/Interpreters/AsynchronousMetrics.cpp
@@ -207,7 +207,7 @@ void AsynchronousMetrics::update()
new_values["Uptime"] = getContext()->getUptimeSeconds();
/// Process memory usage according to OS
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
{
MemoryStatisticsOS::Data data = memory_stat.get();
|