projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb051d
)
Add missing fetch of virtual size for Mach
author
Clément Stenac
<clement.stenac@diwi.org>
Sat, 27 Feb 2010 21:16:58 +0000
(22:16 +0100)
committer
Clément Stenac
<clement.stenac@diwi.org>
Sat, 27 Feb 2010 21:16:58 +0000
(22:16 +0100)
src/processes.c
patch
|
blob
|
history
diff --git
a/src/processes.c
b/src/processes.c
index
e37e566
..
8853660
100644
(file)
--- 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;