On Thu, Nov 13, 2003 at 21:47:18 -0800, Kiran Kumar wrote: > --- Allan.Bezerra@indt.org.br wrote: > > I was trying to get the stack, heap, data and code > > size separately allocated in physical memory but I > > did not manage to get them from /proc. > > cat /proc/<pid>/statm > man proc Which does not include "resident text size", "resident data/stack size" and "resident library size" as was the original question. (However, /proc/<pid>/statm is all there is. No other statistics are really calculated). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/