From 1dd3439a1d86087df8ba1695e3fac4cd69a452d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20Stenac?= Date: Sat, 27 Feb 2010 22:16:58 +0100 Subject: [PATCH] Add missing fetch of virtual size for Mach --- src/processes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/processes.c b/src/processes.c index e37e566a..8853660c 100644 --- a/src/processes.c +++ b/src/processes.c @@ -1302,6 +1302,7 @@ static int ps_read (void) } pse.num_proc++; + pse.vmem_size = task_basic_info.virtual_size; pse.vmem_rss = task_basic_info.resident_size; /* Does not seem to be easily exposed */ pse.vmem_data = 0; -- 2.30.2