From a770b67b08cac1f34f02127001bb1301d21fc5fc Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 17 Aug 2023 20:22:22 +0200 Subject: [PATCH] wind: Show memory usage in debug output --- wind/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wind/main.cpp b/wind/main.cpp index fc24786d..1c77494a 100644 --- a/wind/main.cpp +++ b/wind/main.cpp @@ -44,6 +44,10 @@ static void debug(const Vector>& clients) system("ps"); + os::println("-- wind: Listing memory usage --"); + + system("free -h"); + os::println("--- wind: END DEBUG OUTPUT ---"); }