From 37b644413723670928f6b54f2abe0c852eb0b652 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 1 Nov 2022 08:56:26 +0100 Subject: Moved config-related allocations to config_pool and showing its size in memory usage --- nest/cmds.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nest') diff --git a/nest/cmds.c b/nest/cmds.c index 8481bf96..bcc8d6c2 100644 --- a/nest/cmds.c +++ b/nest/cmds.c @@ -118,6 +118,7 @@ cmd_show_memory(void) print_size("Routing tables:", rmemsize(rt_table_pool)); print_size("Route attributes:", rmemsize(rta_pool)); print_size("Protocols:", rmemsize(proto_pool)); + print_size("Current config:", rmemsize(config_pool)); struct resmem total = rmemsize(&root_pool); #ifdef HAVE_MMAP print_size("Standby memory:", (struct resmem) { .overhead = page_size * *pages_kept }); -- cgit v1.2.3