From 9a652bf4cfc943a5a59d23ea19c1efb202af5286 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 12 Aug 2025 21:49:20 -0400 Subject: kernel: vm: Add total system memory in vmstat This commit introduces reporting of total system memory supported through the vmstat subsystem Signed-off-by: Ian Moffett --- sys/vm/vm_stat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/vm/vm_stat.c') diff --git a/sys/vm/vm_stat.c b/sys/vm/vm_stat.c index 8cf2fe4..3e39047 100644 --- a/sys/vm/vm_stat.c +++ b/sys/vm/vm_stat.c @@ -71,6 +71,7 @@ vm_stat_get(struct vm_stat *vmstat) vmstat->mem_avail = vm_mem_free(); vmstat->mem_used = vm_mem_used(); + vmstat->mem_total = vm_mem_total(); return 0; } -- cgit v1.2.3