From e5ad2a19e67d9cb50d4bd961e86a904936a6c689 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Sun, 24 Aug 2025 22:43:37 +0200 Subject: niflheim/i3status: Show memory available if >90% are used. Until today never noticed this minor error in my configuration. Note for those not familiar with the difference: On Linux free memory is completely unused memory, a total waste of this ressource. Important is the memory categorized as available, this covers caches/buffers meaning data which isn't required to be kept in-memory but there for performance and other improvements. Free memory is part of available memory so if there are 300MiB free, but 25GiB available you won't have a problem starting the greedy web-browser due to a memory shortage. Details can be found in /proc/meminfo and related Linux kernel documentation. In the latter probably also somewhere the criteria by which is chosen what to remove from the cache for a process allocation. --- niflheim/config/i3status/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/niflheim/config/i3status/config b/niflheim/config/i3status/config index ed8554c..55446f4 100644 --- a/niflheim/config/i3status/config +++ b/niflheim/config/i3status/config @@ -51,7 +51,7 @@ cpu_temperature 0 { memory { format = "RAM: %used used" threshold_degraded = "10%" - format_degraded = "RAM: %free free" + format_degraded = "RAM: %available available" } disk "/" { -- cgit v1.2.3-70-g09d2